File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -3094,9 +3094,7 @@ int main (int argc, char* argv[]) {
30943094 flags += " -I" + prefixFile ();
30953095 flags += " -I" + prefixFile (" include" );
30963096 flags += " -L" + prefixFile (" lib/" + platform.arch + " -desktop" );
3097- if (flagCodeSign) {
3098- flags += " -Wl,-rpath,@executable_path" ;
3099- }
3097+ flags += " -Wl,-rpath,@executable_path" ;
31003098 flags += " -fPIC" ;
31013099 flags += " -lsocket-runtime" ;
31023100 flags += " -lomp" ;
@@ -3252,11 +3250,13 @@ int main (int argc, char* argv[]) {
32523250 writeFile (paths.pathResourcesRelativeToUserBuild / " Credits.html" , credits);
32533251
32543252 fs::create_directories (paths.pathPackage / pathBase / " MacOS" );
3255- fs::copy (
3256- trim (prefixFile (" lib/" + platform.arch + " -desktop/libomp.dylib" )),
3257- paths.pathPackage / pathBase / " MacOS" / " libomp.dylib" ,
3258- fs::copy_options::overwrite_existing
3259- );
3253+ if (flagCodeSign) {
3254+ fs::copy (
3255+ trim (prefixFile (" lib/" + platform.arch + " -desktop/libomp.dylib" )),
3256+ paths.pathPackage / pathBase / " MacOS" / " libomp.dylib" ,
3257+ fs::copy_options::overwrite_existing
3258+ );
3259+ }
32603260 }
32613261
32623262 if (platform.mac && isForDesktop) {
You can’t perform that action at this time.
0 commit comments