Sort link directories so that system directories come last

Create issue
Issue #455 closed
Erik Schnetter created an issue

The enclosed patch ensures (makes it more likely) that external libraries provided by Cactus ("ExternalLibraries") supersede system libraries. The underlying problem is that all library search paths specified via -L are concatenated on the final link line, and if different versions of the same library exist, it is then difficult to ensure that that right one is used.

The enclosed patch sorts the directories in final link line such that system directories (in particular /opt/local) come last, so that Cactus's directories come first.


Comments (3)

  1. Log in to comment