[frogr/macosx] Don't use -export-dynamic when compiling for Mac OSX
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr/macosx] Don't use -export-dynamic when compiling for Mac OSX
- Date: Fri, 25 Feb 2011 16:42:16 +0000 (UTC)
commit fc156bdce2739d200c698e8ab8a111b6ca4e0eaf
Author: Mario Sanchez Prada <msanchez igalia com>
Date: Fri Feb 25 17:37:50 2011 +0100
Don't use -export-dynamic when compiling for Mac OSX
configure.ac | 2 ++
src/Makefile.am | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 7e06d96..dd2b0b3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -125,6 +125,8 @@ else
echo "Compiling for GNOME..."
fi
+AM_CONDITIONAL([HAVE_MAC_INTEGRATION],[test "x$platform" = "xmacosx"])
+
# Produce output files
AC_CONFIG_FILES([
diff --git a/src/Makefile.am b/src/Makefile.am
index a630ce6..383b874 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -37,7 +37,9 @@ frogr_CFLAGS += \
-DGTK_API_VERSION_2=1
endif
+if !HAVE_MAC_INTEGRATION
frogr_LDFLAGS = -export-dynamic
+endif
frogr_SOURCES = \
frogr-about-dialog.c \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]