summaryrefslogtreecommitdiff
path: root/build/make
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2010-06-06 18:51:49 +0200
committerLuca Barbato <lu_zero@gentoo.org>2010-06-06 18:51:59 +0200
commit8916fa2c3ef54956b60ded340cb8d974fb0ea709 (patch)
tree39db93ab9d7c2173a5268da20ba31966aab84cc1 /build/make
parent7aa97a35b515bfb7d7bbcdee4db376f815343e44 (diff)
downloadlibvpx-8916fa2c3ef54956b60ded340cb8d974fb0ea709.tar.gz
Make shared object use extralibs
this way -lm doesn't get ignored if additional LDFLAGS get passed from env Change-Id: Ie630369ae6ed2780377c35aa2726e759d527bb50
Diffstat (limited to 'build/make')
-rwxr-xr-xbuild/make/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/make/Makefile b/build/make/Makefile
index ba2578e93..4f7df439a 100755
--- a/build/make/Makefile
+++ b/build/make/Makefile
@@ -231,7 +231,7 @@ $(1):
$(qexec)$$(LD) -shared $$(LDFLAGS) \
-Wl,--no-undefined -Wl,-soname,$$(SONAME) \
-Wl,--version-script,$$(SO_VERSION_SCRIPT) -o $$@ \
- $$(filter %.o,$$?)
+ $$(filter %.o,$$?) $$(extralibs)
endef
define lipo_lib_template