On 27/2/11 21:51, noreply@...1881... wrote:
Merge authors: theAdib (theadib)
revno: 10071 [merge] fixes bug(s): https://launchpad.net/bugs/707205 committer: theAdib <theadib@...400...> branch nick: myproject timestamp: Sun 2011-02-27 21:49:32 +0100 message: compatibility patch to compile using gcc 4.6 modified:
<snip>
=== modified file 'src/Makefile.am' --- src/Makefile.am 2010-10-12 20:06:35 +0000 +++ src/Makefile.am 2011-02-27 16:24:40 +0000 @@ -212,7 +212,7 @@
inkscape_SOURCES += main.cpp $(win32_sources) inkscape_LDADD = $(all_libs) -inkscape_LDFLAGS = --export-dynamic $(kdeldflags) $(mwindows) +inkscape_LDFLAGS = -Wl,--export-dynamic $(kdeldflags) $(mwindows)
inkview_SOURCES += inkview.cpp $(win32_sources) inkview_LDADD = $(all_libs)
Inkscape 048+devel r10071 fails to build on OS X 10.5.8 (i386):
CXX inkscape-version.o AR libinkversion.a CXX main.o CXXLD inkscape ld: unknown option: --export-dynamic collect2: ld returned 1 exit status make[3]: *** [inkscape] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
LeWitt:~ suv$ g++-4.2 --version i686-apple-darwin9-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5577) LeWitt:~ suv$ which ld /usr/bin/ld LeWitt:~ suv$ ld -v @(#)PROGRAM:ld PROJECT:ld64-85.2.1
~suv