sherpa is hosted by Hepforge, IPPP Durham
close Warning: Can't synchronize with repository "(default)" (/hepforge/svn/sherpa does not appear to be a Subversion repository.). Look in the Trac log for more information.

Ticket #21: lhapdf-link.patch

File lhapdf-link.patch, 857 bytes (added by Frank Siegert, 16 years ago)
  • acinclude.m4

     
    426426      esac;
    427427      if test -d "$CONDITIONAL_LHAPDFDIR"; then
    428428        if test -f "$CONDITIONAL_LHAPDFDIR/lib/libLHAPDF.la"; then
    429           CONDITIONAL_LHAPDFLIBS="-lLHAPDFSherpa -L$CONDITIONAL_LHAPDFDIR/lib -lLHAPDF";
     429          CONDITIONAL_LHAPDFLIBS="-L\${PDFBUILDDIR}/LHAPDF -lLHAPDFSherpa -L$CONDITIONAL_LHAPDFDIR/lib -lLHAPDF";
    430430        else
    431           CONDITIONAL_LHAPDFLIBS="-lLHAPDFSherpa $CONDITIONAL_LHAPDFDIR/lib/libLHAPDF.a";
     431          CONDITIONAL_LHAPDFLIBS="-L\${PDFBUILDDIR}/LHAPDF -lLHAPDFSherpa $CONDITIONAL_LHAPDFDIR/lib/libLHAPDF.a";
    432432        fi;
    433433        if test -f "$CONDITIONAL_LHAPDFDIR/include/LHAPDF/LHAPDF.h"; then
    434434          lhapdfnativewrapper=true;