From 519c5affa2f9713a9f196c78ebf44b2308ff4ef1 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 6 Jul 2013 16:42:30 +0000 Subject: Add a --enable-osx-deploy-target option to set the deployment target when building for OS X; that causes the MACOSX_DEPLOYMENT_TARGET environment variable to be set when building (so that, for example, we don't use linker features available on the version on which we're building but not on the minimum OS version for which we're building), and causes the SDK for that version to be used (so that, for example, we don't link with libraries with later version numbers than the ones provided with the OS version for which we're building). svn path=/trunk/; revision=50410 --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 04be30ba21..f594530a65 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1138,7 +1138,7 @@ osx-app: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) packaging/macosx/Info.plist rm -rf $(stagedir) ; \ $(MAKE) DESTDIR=$(stagedir) install; \ cd $(srcdir)/packaging/macosx ; \ - ./osx-app.sh -bp ../staging/$(PACKAGE).inst$(bindir) ; \ + ./osx-app.sh @OSX_APP_FLAGS@ -bp ../staging/$(PACKAGE).inst$(bindir) ; \ else \ echo "Error: OS X packaging tools not found." ; \ echo "Package build abandoned." ; \ -- cgit v1.2.3