diff options
author | Tony Theodore <tonyt@logyst.com> | 2013-08-03 05:13:09 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2013-08-03 05:13:09 (GMT) |
commit | 5d2e603c5d53d92e32a7434cee4b3d7c235b1b06 (patch) | |
tree | 6795cccacba2fa0f1050cbf4f8350b4b668e1090 /src/sdl2_net.mk | |
parent | 28fdfa16cc2654ba25a1e529fa9587c32c405896 (diff) | |
download | mxe-5d2e603c5d53d92e32a7434cee4b3d7c235b1b06.zip mxe-5d2e603c5d53d92e32a7434cee4b3d7c235b1b06.tar.gz mxe-5d2e603c5d53d92e32a7434cee4b3d7c235b1b06.tar.bz2 |
package sdl2_net: fix test program build
Diffstat (limited to 'src/sdl2_net.mk')
-rw-r--r-- | src/sdl2_net.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sdl2_net.mk b/src/sdl2_net.mk index 9b0619b..ab324b7 100644 --- a/src/sdl2_net.mk +++ b/src/sdl2_net.mk @@ -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 = |