From 0d6de72b578addd73d7264b834a54e6d2345a767 Mon Sep 17 00:00:00 2001 From: James Turner Date: Tue, 2 Nov 2010 14:24:09 +0000 Subject: [PATCH] Add headerpax-max-install-names, for Mac deployment. --- configure.ac | 1 + src/Main/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 20be78508..8285ffce2 100644 --- a/configure.ac +++ b/configure.ac @@ -368,6 +368,7 @@ case "${host}" in dnl Mac OS X LIBS="$LIBS -framework GLUT -framework OpenGL -framework AGL -framework $macAPI -lobjc" + LDFLAGS="$LDFLAGS -headerpad_max_install_names" joystick_LIBS="$joystick_LIBS -framework IOKit -framework CoreFoundation" ;; diff --git a/src/Main/Makefile.am b/src/Main/Makefile.am index b7d7ed87c..60df638c1 100644 --- a/src/Main/Makefile.am +++ b/src/Main/Makefile.am @@ -125,7 +125,7 @@ fgfs_LDADD = \ $(openal_LIBS) \ $(EVENT_LIBS) -fgfs_LDFLAGS = $(fgfs_PLIB_FW) $(fgfs_OSG_FW) +fgfs_LDFLAGS = $(fgfs_PLIB_FW) $(fgfs_OSG_FW) $(LDFLAGS) metar_SOURCES = metar_main.cxx