diff options
-rw-r--r-- | src/gcc.mk | 2 | ||||
-rw-r--r-- | src/sdl.mk | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 @@ -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 |