summaryrefslogtreecommitdiffstats
path: root/contrib/libvpx
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libvpx')
-rw-r--r--contrib/libvpx/module.defs6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/libvpx/module.defs b/contrib/libvpx/module.defs
index 683cd17d0..dd29f5642 100644
--- a/contrib/libvpx/module.defs
+++ b/contrib/libvpx/module.defs
@@ -35,6 +35,12 @@ ifeq (1,$(BUILD.cross))
endif
endif
+ifeq (linux,$(BUILD.system))
+ ifeq (x86_64,$(BUILD.machine))
+ LIBVPX.CONFIGURE.extra += --enable-pic
+ endif
+endif
+
ifeq (1,$(FEATURE.local_yasm))
LIBVPX.CONFIGURE.env.LOCAL_PATH = PATH="$(call fn.ABSOLUTE,$(CONTRIB.build/)bin):$(PATH)"
LIBVPX.BUILD.env = PATH="$(call fn.ABSOLUTE,$(CONTRIB.build/)bin):$(PATH)"