Re: inherited_linker_flags

Hanspeter Niederstrasser <[email protected]> Tue, 11 Jul 2017 05:14:39 -0500
Newsgroups gmane.os.apple.fink.devel
Organization Snaggled Works
Message-ID <[email protected]>
On 7/9/17 9:00 PM, David Reiser wrote:
> gnutls30 inserts:
> inherited_linker_flags='  -framework Security -framework CoreFoundation’
> in its .la files. And the validator complains at the end of the package build.
> 
> I tried one fix of inserting 4 '-Wl,' in line in the Makefile.in, but that broke the build sooner.
> 
> What’s the right way to avoid the problem?

This should work at the end of InstallScript once the .la files are in 
the proper place:

perl -pi -e 's|-framework |-Wl,-framework,|g' <.LA FILES>

notice the <space> after the first -framework token. Changes
"-framework Security" to "-Wl,-framework,Security"

Hanspeter

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel