package sdl_net: added static dependency to .pc file

This commit is contained in:
Mark Brand 2012-02-27 14:42:44 +01:00
parent 2ecf5de9cc
commit 6de6554cdd
1 changed files with 24 additions and 0 deletions

24
src/sdl_net-1-fixes.patch Normal file
View File

@ -0,0 +1,24 @@
This file is part of mingw-cross-env.
See doc/index.html for further information.
Contains ad hoc patches for cross building.
From 814342803799ec280e6ecf3c4aad9831b5de01f5 Mon Sep 17 00:00:00 2001
From: mingw-cross-env
Date: Mon, 27 Feb 2012 14:41:08 +0100
Subject: [PATCH] add static dependency to .pc file
diff --git a/SDL_net.pc.in b/SDL_net.pc.in
index b68055e..5bda76c 100644
--- a/SDL_net.pc.in
+++ b/SDL_net.pc.in
@@ -8,4 +8,5 @@ Description: net library for Simple DirectMedia Layer
Version: @VERSION@
Requires: sdl >= @SDL_VERSION@
Libs: -L${libdir} -lSDL_net
+Libs.private: -liphlpapi
Cflags: -I${includedir}/SDL
--
1.7.9