Skip to content

Commit

Permalink
Link AST libraries in correct order.
Browse files Browse the repository at this point in the history
  • Loading branch information
kfindeisen committed Mar 14, 2017
1 parent 4bd2b55 commit a20e47e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ups/starlink_ast.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ import subprocess
dependencies = {}

_astLibStr = subprocess.check_output("ast_link", shell=True).decode()
# sconsUtils requires prerequisites first; ast_link gives them last
astLibs = _astLibStr.split()
astLibs.reverse()

config = lsst.sconsUtils.ExternalConfiguration(
__file__,
headers = ["ast.h", "ast_err.h"],
libs = _astLibStr.split(),
libs = astLibs,
)

0 comments on commit a20e47e

Please sign in to comment.