Adding same fix for macOS that HepMC2 applies
@@ -30,6 +30,8 @@ test:
- export CONDA_BUILD_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk # [osx]
- cd source/test
- ${CXX} -std=c++11 testMass.cc -o testMass.exe -I${CONDA_PREFIX}/include -L${CONDA_PREFIX}/lib -lHepMC3
+ # Fix up the runpath
+ - ${INSTALL_NAME_TOOL} -change @rpath/libHepMC3.dylib $CONDA_PREFIX/lib/libHepMC3.dylib testMass.exe # [osx]
- ./testMass.exe
about:
