From cfab66bf3a9e207a1236923921c3fb348309f1bd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 25 Aug 2014 18:37:36 +0200 Subject: fix compile on Darwin --- package/glib/Makefile | 5 ++++- package/python2/Makefile | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'package') diff --git a/package/glib/Makefile b/package/glib/Makefile index 67c5cab9e..6d6323877 100644 --- a/package/glib/Makefile +++ b/package/glib/Makefile @@ -40,9 +40,12 @@ CONFIGURE_ENV+= glib_cv_long_long_format=ll \ ac_cv_func_posix_getgrgid_r=yes HOST_STYLE:= auto +ifneq ($(OStype),Darwin) +HOST_CONFIGURE_ARGS+= --with-libiconv=no +endif HOST_CONFIGURE_ARGS+= --disable-fam \ --enable-static \ - --with-libiconv=no \ + --disable-shared \ --disable-compile-warnings glib-install: diff --git a/package/python2/Makefile b/package/python2/Makefile index 964eed8f1..7845d541e 100644 --- a/package/python2/Makefile +++ b/package/python2/Makefile @@ -98,6 +98,7 @@ CONFIGURE_ARGS:= --with-threads \ --with-system-ffi \ --without-cxx-main +HOST_CONFIGURE_ENV+= MACOSX_DEPLOYMENT_TARGET=10.9 HOST_CONFIGURE_ARGS+= --with-threads \ --disable-ipv6 \ --disable-shared \ -- cgit v1.2.3