Ticket #40885: ltconfig_rpath_fallback.diff
File ltconfig_rpath_fallback.diff, 921 bytes (added by carter.tjoseph@…, 11 years ago) |
---|
-
config/ltconfig
old new 1385 1385 # Mac OS X v10.2 uses bash for /bin/sh instead of zsh, and the quoting syntax is incompatible 1386 1386 darwin*) 1387 1387 allow_undefined_flag='-undefined error' 1388 archive_cmds='$CC $(test x$module = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs $linkopts $(test x$module != xyes && echo -install_name $ LD_RUN_PATH/$soname $tmp_verstring)'1388 archive_cmds='$CC $(test x$module = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs $linkopts $(test x$module != xyes && echo -install_name ${LD_RUN_PATH:-$rpath}/$soname $tmp_verstring)' 1389 1389 # We need to add '_' to the symbols in $export_symbols first 1390 1390 #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols $lib' 1391 1391 hardcode_direct=yes