Skip to content
Snippets Groups Projects
Commit faea2698 authored by Marcel Loose's avatar Marcel Loose :sunglasses:
Browse files

%[ER: 70]%

Added to LDFLAGS an --rpath option for the aips++ library directory.
parent d5046a9e
No related branches found
No related tags found
No related merge requests found
...@@ -97,7 +97,7 @@ else ...@@ -97,7 +97,7 @@ else
if test "$lofar_compiler" = "kcc"; then if test "$lofar_compiler" = "kcc"; then
AIPSPP_CPPFLAGS="$AIPSPP_CPPFLAGS -DAIPS_KAICC" AIPSPP_CPPFLAGS="$AIPSPP_CPPFLAGS -DAIPS_KAICC"
fi fi
AIPSPP_LDFLAGS="-L$AIPSPP_PATH/$AIPSPP_ARCH/lib" AIPSPP_LDFLAGS="-L$AIPSPP_PATH/$AIPSPP_ARCH/lib -Wl,-rpath,$AIPSPP_PATH/$AIPSPP_ARCH/lib"
# For one reason or another -ltrial -laips links in a lot of rubbish # For one reason or another -ltrial -laips links in a lot of rubbish
# (like MiriadImage). Therefore do -laips first. # (like MiriadImage). Therefore do -laips first.
AIPSPP_LIBS="$AIPSPP_PATH/$AIPSPP_ARCH/lib/version.o -ltasking -lms -lfits -lmeasures -ltables -lscimath -lscimath_f -lcasa -lglish -lsos -lnpd" AIPSPP_LIBS="$AIPSPP_PATH/$AIPSPP_ARCH/lib/version.o -ltasking -lms -lfits -lmeasures -ltables -lscimath -lscimath_f -lcasa -lglish -lsos -lnpd"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment