Skip to content

Commit

Permalink
package sdl2_net: fix test program build
Browse files Browse the repository at this point in the history
  • Loading branch information
tonytheodore committed Aug 3, 2013
1 parent 28fdfa1 commit 5d2e603
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/sdl2_net.mk
Expand Up @@ -28,9 +28,10 @@ define $(PKG)_BUILD
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=

'$(TARGET)-gcc' \
-W -Wall -Werror -ansi -pedantic \
-W -Wall -Werror -std=c99 -pedantic \
'$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-sdl2_net.exe' \
`'$(TARGET)-pkg-config' SDL2_net --cflags --libs`
`'$(TARGET)-pkg-config' SDL2_net --cflags --libs` \
-lws2_32 -liphlpapi
endef

$(PKG)_BUILD_i686-pc-mingw32 =

0 comments on commit 5d2e603

Please sign in to comment.