changeset 731:2ffb38727a32

hardcode the --static argument into i686-pc-mingw32-pkg-config
author Volker Grabsch <vog@notjusthosting.com>
date Sun, 14 Feb 2010 18:49:22 +0100
parents 786f0c619b86
children 5703bf82e5b7
files src/gcc.mk src/sdl.mk
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gcc.mk	Sun Feb 14 13:27:11 2010 +0100
+++ b/src/gcc.mk	Sun Feb 14 18:49:22 2010 +0100
@@ -80,7 +80,7 @@
 
     # create pkg-config script
     (echo '#!/bin/sh'; \
-     echo 'PKG_CONFIG_PATH= PKG_CONFIG_LIBDIR='\''$(PREFIX)/$(TARGET)/lib/pkgconfig'\'' exec pkg-config "$$@"') \
+     echo 'PKG_CONFIG_PATH= PKG_CONFIG_LIBDIR='\''$(PREFIX)/$(TARGET)/lib/pkgconfig'\'' exec pkg-config --static "$$@"') \
              > '$(PREFIX)/bin/$(TARGET)-pkg-config'
     chmod 0755 '$(PREFIX)/bin/$(TARGET)-pkg-config'
 endef
--- a/src/sdl.mk	Sun Feb 14 13:27:11 2010 +0100
+++ b/src/sdl.mk	Sun Feb 14 18:49:22 2010 +0100
@@ -31,6 +31,6 @@
 
     '$(TARGET)-gcc' \
         -W -Wall -Werror -ansi -pedantic \
-        `'$(TARGET)-pkg-config' sdl --cflags --static --libs` \
+        `'$(TARGET)-pkg-config' sdl --cflags --libs` \
         '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-sdl.exe'
 endef