From f63539840ac993e726786589995865c433ac6d31 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Thu, 1 Jun 2017 16:38:22 +0200 Subject: [PATCH] when fixing the rpath on Apple, search simgrid-java where it is --- tools/cmake/Java.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cmake/Java.cmake b/tools/cmake/Java.cmake index e6b8ba4b6c..7c422f3b4c 100644 --- a/tools/cmake/Java.cmake +++ b/tools/cmake/Java.cmake @@ -160,7 +160,7 @@ if(APPLE) # # This has to be done with the classical Apple tools, as follows: - COMMAND install_name_tool -change ${CMAKE_BINARY_DIR}/lib/libsimgrid.${SIMGRID_VERSION_MAJOR}.${SIMGRID_VERSION_MINOR}${CMAKE_SHARED_LIBRARY_SUFFIX} @loader_path/libsimgrid.dylib libsimgrid-java.dylib + COMMAND install_name_tool -change ${CMAKE_BINARY_DIR}/lib/libsimgrid.${SIMGRID_VERSION_MAJOR}.${SIMGRID_VERSION_MINOR}${CMAKE_SHARED_LIBRARY_SUFFIX} @loader_path/libsimgrid.dylib ${CMAKE_BINARY_DIR}/lib/${LIBSIMGRID_JAVA_SO} ) endif() -- 2.20.1