package sdl_net: use .pc file to link test program

This commit is contained in:
Mark Brand 2012-02-27 14:50:05 +01:00
parent 9cd708d713
commit 7c095eda35
1 changed files with 1 additions and 1 deletions

View File

@ -32,5 +32,5 @@ define $(PKG)_BUILD
'$(TARGET)-gcc' \
-W -Wall -Werror -ansi -pedantic \
'$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-sdl_net.exe' \
`'$(TARGET)-pkg-config' sdl --cflags --libs` -lSDL_net -lws2_32 -liphlpapi
`'$(TARGET)-pkg-config' SDL_net --cflags --libs`
endef