pull/13/head
Volker Grabsch 15 years ago
commit 2c08f6cec5

@ -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

Loading…
Cancel
Save