diff options
author | Janne Grunau <janne-libav@jannau.net> | 2017-06-20 19:25:43 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2017-06-22 13:54:34 +0200 |
commit | 857e26b655a769e5a56bada1a0d9adb44cc176b7 (patch) | |
tree | 5e5f0ed05f5d241ab4c50bc86df61a4850edd99c /avbuild/library.mak | |
parent | 333a34da3a6d13155de480e7d16ec5fec7f4cd6c (diff) | |
download | ffmpeg-857e26b655a769e5a56bada1a0d9adb44cc176b7.tar.gz |
build: Add an option for passing linker flags to the shared library build
Also employ this mechanism to pass $libdir to the runtime library search
path if rpath is enabled. This fixes underlinking of some test binaries
on some systems.
Diffstat (limited to 'avbuild/library.mak')
-rw-r--r-- | avbuild/library.mak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avbuild/library.mak b/avbuild/library.mak index 2095f61d80..30757546fd 100644 --- a/avbuild/library.mak +++ b/avbuild/library.mak @@ -48,7 +48,7 @@ $(SUBDIR)$(SLIBNAME): $(SUBDIR)$(SLIBNAME_WITH_MAJOR) $(SUBDIR)$(SLIBNAME_WITH_MAJOR): $(OBJS) $(SUBDIR)lib$(NAME).ver $(DEP_LIBS) $(SLIB_CREATE_DEF_CMD) - $$(LD) $(SHFLAGS) $(LDFLAGS) $$(LD_O) $$(filter %.o,$$^) $(FFEXTRALIBS) + $$(LD) $(SHFLAGS) $(LDFLAGS) $(LDSOFLAGS) $$(LD_O) $$(filter %.o,$$^) $(FFEXTRALIBS) $(SLIB_EXTRA_CMD) clean:: |