Commit 36ed5e78 authored by Jon A. Cruz's avatar Jon A. Cruz

Fix for build on OS X. Fixes bug 707205.

Fixed bugs:
  - https://launchpad.net/bugs/707205

(bzr r10078)
parent 6d85b24c
......@@ -314,6 +314,19 @@ AC_MSG_RESULT([$platform_win32])
AM_CONDITIONAL(PLATFORM_WIN32, test "$platform_win32" = "yes")
AC_SUBST(WIN32_CFLAGS)
dnl TODO - switch to a linker/libtool/feature check, not OS check:
dnl ******************************
dnl MacOS X
dnl ******************************
AC_MSG_CHECKING([for OSX platform])
if test "x$build_vendor" = "xapple" ; then
platform_osx=yes
else
platform_osx=no
fi
AC_MSG_RESULT([$platform_osx])
AM_CONDITIONAL(EXPORT_DYNAMIC_DIRECT, test "$platform_osx" = "yes")
AC_MSG_CHECKING([for Solaris platform])
case "$host" in
*-solaris2.*)
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment