As I mentioned to Alexander on fink irc, I think we can add a fatal
fink validation error for the dynamic shared libraries on darwin14 and
later that are erroneously linked with -flat_namespace rather than
-undefined dynamic_lookup due to the buggy libtool. We can use the
following approach...

1) test with the 'file' command to make sure the shared library isn't
really a bundle
2) if not a bundle, use 'otool -H <filename> | grep Hint' to look for...

Two-level namespace hints table (0 hints)


which shared libraries created with -flat_namespace should be missing.


If this test fails on darwin14 or later, this should be treated as a fatal
validation error with the appropriate error message.

               Jack
------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to