summaryrefslogtreecommitdiffstats
path: root/src/sdl_net.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2017-11-26 07:19:42 (GMT)
committerTony Theodore <tonyt@logyst.com>2017-11-28 09:33:07 (GMT)
commit0837aae2ef8c7f68c6425afa29dae56f0951d48a (patch)
treeea8cdab16066723c3869dead2a3d32fb990e3286 /src/sdl_net.mk
parent640a1b3a5ee53779233c172dd74bccc0de645764 (diff)
downloadmxe-0837aae2ef8c7f68c6425afa29dae56f0951d48a.zip
mxe-0837aae2ef8c7f68c6425afa29dae56f0951d48a.tar.gz
mxe-0837aae2ef8c7f68c6425afa29dae56f0951d48a.tar.bz2
sdl pkgs: enable shared
Diffstat (limited to 'src/sdl_net.mk')
-rw-r--r--src/sdl_net.mk11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/sdl_net.mk b/src/sdl_net.mk
index 066c1aa..5ac90b8 100644
--- a/src/sdl_net.mk
+++ b/src/sdl_net.mk
@@ -18,20 +18,17 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
- cd '$(1)' && ./configure \
- --host='$(TARGET)' \
- --disable-shared \
- --prefix='$(PREFIX)/$(TARGET)' \
+ cd '$(BUILD_DIR)' && '$(SOURCE_DIR)/configure' \
+ $(MXE_CONFIGURE_OPTS) \
--with-sdl-prefix='$(PREFIX)/$(TARGET)' \
--disable-sdltest \
--disable-gui \
WINDRES='$(TARGET)-windres'
- $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
+ $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' $(MXE_DISABLE_PROGRAMS)
+ $(MAKE) -C '$(BUILD_DIR)' -j 1 install $(MXE_DISABLE_PROGRAMS)
'$(TARGET)-gcc' \
-W -Wall -Werror -ansi -pedantic \
'$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-sdl_net.exe' \
`'$(TARGET)-pkg-config' SDL_net --cflags --libs`
endef
-
-$(PKG)_BUILD_SHARED =