From 36ed5e78e9650b30663166ae79f660ce14372662 Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Fri, 4 Mar 2011 00:42:12 -0800 Subject: Fix for build on OS X. Fixes bug 707205. Fixed bugs: - https://launchpad.net/bugs/707205 (bzr r10078) --- src/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 993fd01ac..731e9bfd6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -212,7 +212,11 @@ libinkscape_a_SOURCES = $(ink_common_sources) inkscape_SOURCES += main.cpp $(win32_sources) inkscape_LDADD = $(all_libs) +if EXPORT_DYNAMIC_DIRECT +inkscape_LDFLAGS = --export-dynamic $(kdeldflags) $(mwindows) +else inkscape_LDFLAGS = -Wl,--export-dynamic $(kdeldflags) $(mwindows) +endif inkview_SOURCES += inkview.cpp $(win32_sources) inkview_LDADD = $(all_libs) -- cgit v1.2.3