mirror of https://git.wownero.com/dsc/mxe.git
package sdl_net: use .pc file to link test program
This commit is contained in:
parent
9cd708d713
commit
7c095eda35
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue