aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorGil Pedersen <gil@cmi.aau.dk>2012-03-07 17:03:06 +0100
committerDiego Biurrun <diego@biurrun.de>2012-03-09 20:56:14 +0100
commit49e35f497fe84920327e5cc5ae0bf65dccdb163b (patch)
tree35bf421c5f73f5339a6fc1e76007f9a95e24d59d /configure
parent100c3fb2d1d7451857fd143c98b329e271dbdf50 (diff)
downloadffmpeg-49e35f497fe84920327e5cc5ae0bf65dccdb163b.tar.gz
configure: darwin: Change dylib install names to include major version.
This will cause linkers to link against the major lib names, instead of the base names, allowing multiple major versions of the libraries to co-exist. Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 6278b9ab8e..4f956bb6b6 100755
--- a/configure
+++ b/configure
@@ -2462,7 +2462,7 @@ case $target_os in
enable malloc_aligned
gas="gas-preprocessor.pl $cc"
enabled ppc && add_asflags -force_cpusubtype_ALL
- SHFLAGS='-dynamiclib -Wl,-single_module -Wl,-install_name,$(SHLIBDIR)/$(SLIBNAME),-current_version,$(LIBVERSION),-compatibility_version,$(LIBMAJOR)'
+ SHFLAGS='-dynamiclib -Wl,-single_module -Wl,-install_name,$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR),-current_version,$(LIBVERSION),-compatibility_version,$(LIBMAJOR)'
enabled x86_32 && append SHFLAGS -Wl,-read_only_relocs,suppress
add_ldflags -Wl,-dynamic,-search_paths_first
SLIBSUF=".dylib"