Skip to content

Commit

Permalink
devil: enable shared and x86_64 builds
Browse files Browse the repository at this point in the history
see also:
 * mxe#295
 * DentonW/DevIL#29

closes mxe#1188
  • Loading branch information
tonytheodore authored and WSoptics committed Feb 3, 2016
1 parent 2cdbbf3 commit 8083207
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions src/devil.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ define $(PKG)_UPDATE
endef

define $(PKG)_BUILD
$(SED) -i 's,__declspec(dllimport),,' '$(1)/include/IL/il.h'
# autotools files in tarball are ancient (2009) so regenerate
$(if $(BUILD_STATIC), \
$(SED) -i 's/__declspec(dllimport)//' '$(1)/include/IL/il.h', \
cd '$(1)' && $(LIBTOOLIZE) && autoreconf -fi)
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--build="`config.guess`" \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
$(MXE_CONFIGURE_OPTS) \
--enable-ILU \
--enable-ILUT \
--disable-allegro \
Expand All @@ -40,7 +40,3 @@ define $(PKG)_BUILD
--without-examples
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= INFO_DEPS=
endef

$(PKG)_BUILD_x86_64-w64-mingw32 =

$(PKG)_BUILD_SHARED =

0 comments on commit 8083207

Please sign in to comment.