Use -install_name on MacOS X when the installation path is known
Kudos to yrmt@ for the hint
This commit is contained in:
parent
bdb9f4b4ce
commit
373af903a8
@ -1149,6 +1149,9 @@ static int _target_library(Configure * configure, FILE * fp,
|
||||
/* soname is not available on MacOS X */
|
||||
if(configure->os != HO_MACOSX)
|
||||
fprintf(fp, "%s%s", " -Wl,-soname,", soname);
|
||||
else if((p = config_get(configure->config, target, "install")) != NULL)
|
||||
fprintf(fp, "%s%s%s%s%s", " -install_name ", p, "/", target,
|
||||
configure_get_soext(configure));
|
||||
fprintf(fp, "%s%s%s%s%s", " $(", target, "_OBJS) $(", target,
|
||||
"_LDFLAGS)");
|
||||
if(q != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user