[Patches] fix order of external/system libs on the linker command line
Thomas Radke
tradke at aei.mpg.de
Thu Mar 9 07:14:31 CST 2006
With the new mechanism to configure Cactus with external packages,
external libraries (as listed in bindings/Configuration/make.link) are
appended to the linker command line _after_ all other libraries
(including any system/compiler-specific libs). This is a problem if the
external libraries themself need compiler-specific libs.
The old mechanism worked fine though: scripts in lib/make/extra/ listed
their external libs in config-data/make.extra.defn which is included in
config-data/make.config.defn which _then_ appends
system/compiler-specific libs.
The attached patch makes sure that definitions in the
bindings/Configuration/make.link file are treated equivalently to
definitions in the config-data/make.extra.defn file.
--
Cheers, Thomas.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
Url: http://www.cactuscode.org/pipermail/patches/attachments/20060309/05ec7fda/attachment.pl
More information about the Patches
mailing list