diff --git a/Builds/CLion/CMakeLists.txt b/Builds/CLion/CMakeLists.txt index 647efa4..2135cde 100644 --- a/Builds/CLion/CMakeLists.txt +++ b/Builds/CLion/CMakeLists.txt @@ -2745,7 +2745,7 @@ set_target_properties (VST PROPERTIES target_link_libraries (VST PRIVATE SHARED_CODE - "-L/usr/local/lib" + "-Llib_relinked" "-lfluidsynth" "-framework Accelerate" "-framework AudioToolbox" @@ -2829,7 +2829,7 @@ set_target_properties (VST3 PROPERTIES target_link_libraries (VST3 PRIVATE SHARED_CODE - "-L/usr/local/lib" + "-Llib_relinked" "-lfluidsynth" "-framework Accelerate" "-framework AudioToolbox" @@ -2905,7 +2905,7 @@ set_target_properties (STANDALONE_PLUGIN PROPERTIES target_link_libraries (STANDALONE_PLUGIN PRIVATE SHARED_CODE - "-L/usr/local/lib" + "-Llib_relinked" "-lfluidsynth" "-framework Accelerate" "-framework AudioToolbox" @@ -2971,7 +2971,7 @@ set_target_properties (SHARED_CODE PROPERTIES ) target_link_libraries (SHARED_CODE PRIVATE - "-L/usr/local/lib" + "-Llib_relinked" "-lfluidsynth" "-framework Accelerate" "-framework AudioToolbox" @@ -3064,7 +3064,7 @@ set_target_properties (VST PROPERTIES target_link_libraries (VST PRIVATE SHARED_CODE - "-L/usr/local/lib" + "-Llib_relinked" "-lfluidsynth" "-framework Accelerate" "-framework AudioToolbox" @@ -3150,7 +3150,7 @@ set_target_properties (VST3 PROPERTIES target_link_libraries (VST3 PRIVATE SHARED_CODE - "-L/usr/local/lib" + "-Llib_relinked" "-lfluidsynth" "-framework Accelerate" "-framework AudioToolbox" @@ -3228,7 +3228,7 @@ set_target_properties (STANDALONE_PLUGIN PROPERTIES target_link_libraries (STANDALONE_PLUGIN PRIVATE SHARED_CODE - "-L/usr/local/lib" + "-Llib_relinked" "-lfluidsynth" "-framework Accelerate" "-framework AudioToolbox" @@ -3296,7 +3296,7 @@ set_target_properties (SHARED_CODE PROPERTIES ) target_link_libraries (SHARED_CODE PRIVATE - "-L/usr/local/lib" + "-Llib_relinked" "-lfluidsynth" "-framework Accelerate" "-framework AudioToolbox" diff --git a/Builds/MacOSX/juicysfplugin.xcodeproj/project.pbxproj b/Builds/MacOSX/juicysfplugin.xcodeproj/project.pbxproj index b7cc134..7e51169 100644 --- a/Builds/MacOSX/juicysfplugin.xcodeproj/project.pbxproj +++ b/Builds/MacOSX/juicysfplugin.xcodeproj/project.pbxproj @@ -299,7 +299,7 @@ LIBRARY_STYLE = Bundle; MACOSX_DEPLOYMENT_TARGET = 10.11; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; - OTHER_LDFLAGS = "-bundle -ljuicysfplugin -L/usr/local/lib -lfluidsynth"; + OTHER_LDFLAGS = "-bundle -ljuicysfplugin -Llib_relinked -lfluidsynth"; PRODUCT_BUNDLE_IDENTIFIER = uk.co.birchlabs.juicysfplugin; SDKROOT_ppc = macosx10.5; USE_HEADERMAP = NO; @@ -339,7 +339,7 @@ LLVM_LTO = YES; MACOSX_DEPLOYMENT_TARGET = 10.11; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; - OTHER_LDFLAGS = "-bundle -ljuicysfplugin -L/usr/local/lib -lfluidsynth"; + OTHER_LDFLAGS = "-bundle -ljuicysfplugin -Llib_relinked -lfluidsynth"; PRODUCT_BUNDLE_IDENTIFIER = uk.co.birchlabs.juicysfplugin; SDKROOT_ppc = macosx10.5; USE_HEADERMAP = NO; @@ -377,7 +377,7 @@ LIBRARY_STYLE = Bundle; MACOSX_DEPLOYMENT_TARGET = 10.11; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; - OTHER_LDFLAGS = "-bundle -ljuicysfplugin -L/usr/local/lib -lfluidsynth"; + OTHER_LDFLAGS = "-bundle -ljuicysfplugin -Llib_relinked -lfluidsynth"; PRODUCT_BUNDLE_IDENTIFIER = uk.co.birchlabs.juicysfplugin; SDKROOT_ppc = macosx10.5; USE_HEADERMAP = NO; @@ -417,7 +417,7 @@ LLVM_LTO = YES; MACOSX_DEPLOYMENT_TARGET = 10.11; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; - OTHER_LDFLAGS = "-bundle -ljuicysfplugin -L/usr/local/lib -lfluidsynth"; + OTHER_LDFLAGS = "-bundle -ljuicysfplugin -Llib_relinked -lfluidsynth"; PRODUCT_BUNDLE_IDENTIFIER = uk.co.birchlabs.juicysfplugin; SDKROOT_ppc = macosx10.5; USE_HEADERMAP = NO; @@ -452,7 +452,7 @@ INFOPLIST_PREPROCESS = NO; MACOSX_DEPLOYMENT_TARGET = 10.11; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; - OTHER_LDFLAGS = "-ljuicysfplugin -L/usr/local/lib -lfluidsynth"; + OTHER_LDFLAGS = "-ljuicysfplugin -Llib_relinked -lfluidsynth"; PRODUCT_BUNDLE_IDENTIFIER = uk.co.birchlabs.juicysfplugin.juicysfpluginAUv3; SDKROOT_ppc = macosx10.5; USE_HEADERMAP = NO; }; name = Debug; }; @@ -488,7 +488,7 @@ LLVM_LTO = YES; MACOSX_DEPLOYMENT_TARGET = 10.11; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; - OTHER_LDFLAGS = "-ljuicysfplugin -L/usr/local/lib -lfluidsynth"; + OTHER_LDFLAGS = "-ljuicysfplugin -Llib_relinked -lfluidsynth"; PRODUCT_BUNDLE_IDENTIFIER = uk.co.birchlabs.juicysfplugin.juicysfpluginAUv3; SDKROOT_ppc = macosx10.5; USE_HEADERMAP = NO; }; name = Release; }; @@ -520,7 +520,7 @@ INFOPLIST_PREPROCESS = NO; MACOSX_DEPLOYMENT_TARGET = 10.11; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; - OTHER_LDFLAGS = "-ljuicysfplugin -L/usr/local/lib -lfluidsynth"; + OTHER_LDFLAGS = "-ljuicysfplugin -Llib_relinked -lfluidsynth"; PRODUCT_BUNDLE_IDENTIFIER = uk.co.birchlabs.juicysfplugin; SDKROOT_ppc = macosx10.5; USE_HEADERMAP = NO; }; name = Debug; }; @@ -554,7 +554,7 @@ LLVM_LTO = YES; MACOSX_DEPLOYMENT_TARGET = 10.11; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; - OTHER_LDFLAGS = "-ljuicysfplugin -L/usr/local/lib -lfluidsynth"; + OTHER_LDFLAGS = "-ljuicysfplugin -Llib_relinked -lfluidsynth"; PRODUCT_BUNDLE_IDENTIFIER = uk.co.birchlabs.juicysfplugin; SDKROOT_ppc = macosx10.5; USE_HEADERMAP = NO; }; name = Release; }; @@ -586,7 +586,7 @@ INSTALL_PATH = "@executable_path/../Frameworks"; MACOSX_DEPLOYMENT_TARGET = 10.11; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; - OTHER_LDFLAGS = "-L/usr/local/lib -lfluidsynth"; + OTHER_LDFLAGS = "-Llib_relinked -lfluidsynth"; PRODUCT_BUNDLE_IDENTIFIER = uk.co.birchlabs.juicysfplugin; SDKROOT_ppc = macosx10.5; USE_HEADERMAP = NO; }; name = Debug; }; @@ -620,7 +620,7 @@ LLVM_LTO = YES; MACOSX_DEPLOYMENT_TARGET = 10.11; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; - OTHER_LDFLAGS = "-L/usr/local/lib -lfluidsynth"; + OTHER_LDFLAGS = "-Llib_relinked -lfluidsynth"; PRODUCT_BUNDLE_IDENTIFIER = uk.co.birchlabs.juicysfplugin; SDKROOT_ppc = macosx10.5; USE_HEADERMAP = NO; }; name = Release; }; diff --git a/juicysfplugin.jucer b/juicysfplugin.jucer index f63e965..1b6bdeb 100644 --- a/juicysfplugin.jucer +++ b/juicysfplugin.jucer @@ -63,7 +63,7 @@ + extraLinkerFlags="-Llib_relinked">