Mercurial > hg > mxe-octave-anirudha
changeset 3228:d037848bada2
[Darwin] Fix compiling of GraphicsMagick
author | Anirudha Bose <ani07nov@gmail.com> |
---|---|
date | Mon, 23 Sep 2013 02:52:01 +0530 |
parents | e51083cf2f46 |
children | 92fc1c2cb975 |
files | src/graphicsmagick.mk |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/graphicsmagick.mk +++ b/src/graphicsmagick.mk @@ -12,6 +12,11 @@ $(PKG)_DEPS += pthreads libtool endif +ifeq ($(MXE_SYSTEM), darwin) + $(PKG)_DARWIN_EXTRA_CONFIG_OPTIONS := \ + --build=i386 +endif + define $(PKG)_UPDATE $(WGET) -q -O- 'http://sourceforge.net/projects/graphicsmagick/files/graphicsmagick/' | \ $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ @@ -24,7 +29,8 @@ cd '$(1)' && ./configure \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ - $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ + $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ + $($(PKG)_DARWIN_EXTRA_CONFIG_OPTIONS) \ --prefix='$(HOST_PREFIX)' \ --without-modules \ --with-threads \