summaryrefslogtreecommitdiff
path: root/libs.mk
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 /libs.mk
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 'libs.mk')
-rw-r--r--libs.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs.mk b/libs.mk
index c6b08d21b..fd4543b07 100644
--- a/libs.mk
+++ b/libs.mk
@@ -182,7 +182,7 @@ BUILD_LIBVPX_SO := $(if $(BUILD_LIBVPX),$(CONFIG_SHARED))
LIBVPX_SO := libvpx.so.$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_PATCH)
LIBS-$(BUILD_LIBVPX_SO) += $(BUILD_PFX)$(LIBVPX_SO)
$(BUILD_PFX)$(LIBVPX_SO): $(LIBVPX_OBJS) libvpx.ver
-$(BUILD_PFX)$(LIBVPX_SO): LDFLAGS += -lm -pthread
+$(BUILD_PFX)$(LIBVPX_SO): extralibs += -lm -pthread
$(BUILD_PFX)$(LIBVPX_SO): SONAME = libvpx.so.$(VERSION_MAJOR)
$(BUILD_PFX)$(LIBVPX_SO): SO_VERSION_SCRIPT = libvpx.ver
LIBVPX_SO_SYMLINKS := $(addprefix $(LIBSUBDIR)/, \