Re: [Fink-devel] Framework linker flag in Compile script

2010-03-02 Thread mpsuzuki
Dear Peter, On Wed, 24 Feb 2010 10:02:32 -0600 Peter O'Gorman pe...@pogma.com wrote: On 02/24/2010 02:42 AM, suzuki toshiya wrote: B. What should be fixed is GNU libtool, not library packages. There would be an opinion: the current GNU libtool behaviour: - -framework XXX is copied to .la

Re: [Fink-devel] Framework linker flag in Compile script

2010-03-02 Thread Daniel Macks
On Tue, Mar 02, 2010 at 06:40:46PM +0900, mpsuz...@hiroshima-u.ac.jp wrote: Dear Peter, On Wed, 24 Feb 2010 10:02:32 -0600 Peter O'Gorman pe...@pogma.com wrote: On 02/24/2010 02:42 AM, suzuki toshiya wrote: B. What should be fixed is GNU libtool, not library packages. There would be

Re: [Fink-devel] Framework linker flag in Compile script

2010-02-24 Thread suzuki toshiya
Dear Sirs, I'm a maintainer of Macintosh-related part of FreeType2. I want to ask some questions about the expected linker flag syntax for Mac OS X developers. BACKGROUND -- At present, freetype-config freetype2.pc return the linker flag in -Wl,-framework,xxx style, when FreeType2 is

Re: [Fink-devel] Framework linker flag in Compile script

2010-02-24 Thread Peter O'Gorman
On 02/24/2010 02:42 AM, suzuki toshiya wrote: POSSIBLE SOLUTION - One of the solution would be the change of linker flag syntax to be inherited to libfreetype.la. If I change -Wl,-framework,XXX style to raw -framework XXX, GNU libtool copies them to inherited linker flag

[Fink-devel] Framework linker flag in Compile script

2010-01-04 Thread Ebrahim Mayat
Hello all While testing the fluidsynth info file for a package update on 10.4.11 powerpc, I got the following error: /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -O2 -fomit-frame- pointer -funroll-all-loops -finline-functions -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual

Re: [Fink-devel] Framework linker flag in Compile script

2010-01-04 Thread Martin Costabel
Ebrahim Mayat wrote: [] CompileScript: ./configure %c LDFLAGS=-framework CoreFoundation make I still get the following complaint: Validating .deb dir /sw/src/fink.build/root-fluidsynth-dev-1.1.1-280... Error: The -framework flag may get munged by libtool. See the gcc manpage

Re: [Fink-devel] Framework linker flag in Compile script

2010-01-04 Thread Ebrahim Mayat
On Mon, 2010-01-04 at 11:31 +0100, Martin Costabel wrote: I think what the validator wants is LDFLAGS=-Wl,framework,CoreFoundation Like this, a too eagerly alphabetically-sorting libtool cannot destroy the flag. Many thanks, Martin! Adding SetLDFLAGS: -Wl,

Re: [Fink-devel] Framework linker flag in Compile script

2010-01-04 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/4/10 8:03 AM, Ebrahim Mayat wrote: On Mon, 2010-01-04 at 11:31 +0100, Martin Costabel wrote: I think what the validator wants is LDFLAGS=-Wl,framework,CoreFoundation Like this, a too eagerly alphabetically-sorting libtool cannot