diff options
author | Tobias Gruetzmacher <tobias-git@23.gs> | 2014-03-30 20:03:16 (GMT) |
---|---|---|
committer | Tobias Gruetzmacher <tobias-git@23.gs> | 2014-03-30 20:03:16 (GMT) |
commit | b19821e6cc0e8e5ce50e32de5ec57e32005e895a (patch) | |
tree | 53e7de001a1d645d36dd745561647bd86f3587c2 /src | |
parent | f5ebcaa177d53d1c421e3a5156ae9ffff4acaca3 (diff) | |
download | mxe-b19821e6cc0e8e5ce50e32de5ec57e32005e895a.zip mxe-b19821e6cc0e8e5ce50e32de5ec57e32005e895a.tar.gz mxe-b19821e6cc0e8e5ce50e32de5ec57e32005e895a.tar.bz2 |
Package sdl2_image: Enable shared build.
Diffstat (limited to 'src')
-rw-r--r-- | src/sdl2_image.mk | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/sdl2_image.mk b/src/sdl2_image.mk index d3e259b..f0476fb 100644 --- a/src/sdl2_image.mk +++ b/src/sdl2_image.mk @@ -17,17 +17,14 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD - $(SED) -i 's,^\(Requires:.*\),\1 libtiff-4 libpng,' '$(1)/SDL2_image.pc.in' + $(SED) -i 's,^\(Requires:.*\),\1\nRequires.private: libtiff-4 libpng,' '$(1)/SDL2_image.pc.in' cd '$(1)' && ./configure \ - --host='$(TARGET)' \ - --disable-shared \ - --prefix='$(PREFIX)/$(TARGET)' \ + $(MXE_CONFIGURE_OPTS) \ --with-sdl-prefix='$(PREFIX)/$(TARGET)' \ --disable-sdltest \ --disable-jpg-shared \ --disable-webp-shared \ --disable-png-shared \ - --disable-tif-shared \ - LIBS='-lz' + --disable-tif-shared $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= endef |