hardcode the --static argument into i686-pc-mingw32-pkg-config

This commit is contained in:
Volker Grabsch 2010-02-14 18:49:22 +01:00
parent 3a464b819d
commit 834421011b
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ define $(PKG)_BUILD
# 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

View File

@ -31,6 +31,6 @@ define $(PKG)_BUILD
'$(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