Skip to content

Commit

Permalink
Fix pkg-config RPATH
Browse files Browse the repository at this point in the history
  • Loading branch information
PhysSong committed Aug 28, 2018
1 parent 65983c5 commit 61d8d16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/modules/CarlaPkgConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ IF(EXISTS ${CARLA_PKGCONFIG_FILE} AND EXISTS ${CARLA_LIB_FILE})
STRING(REPLACE "X-INCLUDEDIR-X/carla" "${CARLA_SUBMODULE_SOURCE}/source/includes" CARLA_PKGCONFIG_TEXT "${CARLA_PKGCONFIG_TEXT}")
IF(LMMS_BUILD_APPLE)
# Remove linker flags
STRING(REPLACE "-Wl,rpath=\${libdir}" "" CARLA_PKGCONFIG_TEXT "${CARLA_PKGCONFIG_TEXT}")
STRING(REPLACE "-Wl,rpath=\${libdir}" "-Wl,rpath,\${libdir}" CARLA_PKGCONFIG_TEXT "${CARLA_PKGCONFIG_TEXT}")
# Add library path and prefix
STRING(REPLACE "X-PREFIX-X" "/Applications/Carla.app/Contents/MacOS" CARLA_PKGCONFIG_TEXT "${CARLA_PKGCONFIG_TEXT}")
STRING(REPLACE "X-LIBDIR-X/carla" "/Applications/Carla.app/Contents/MacOS" CARLA_PKGCONFIG_TEXT "${CARLA_PKGCONFIG_TEXT}")
Expand Down

0 comments on commit 61d8d16

Please sign in to comment.