aboutsummaryrefslogtreecommitdiff
path: root/depends/funcs.mk
diff options
context:
space:
mode:
Diffstat (limited to 'depends/funcs.mk')
-rw-r--r--depends/funcs.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/depends/funcs.mk b/depends/funcs.mk
index 0d3bc2c526..494ed5d324 100644
--- a/depends/funcs.mk
+++ b/depends/funcs.mk
@@ -181,6 +181,7 @@ $(1)_cmake=env CC="$$($(1)_cc)" \
LDFLAGS="$$($(1)_ldflags)" \
cmake -DCMAKE_INSTALL_PREFIX:PATH="$$($($(1)_type)_prefix)" \
-DCMAKE_INSTALL_LIBDIR=lib/ \
+ -DCMAKE_POSITION_INDEPENDENT_CODE=ON \
$$($(1)_config_opts)
ifeq ($($(1)_type),build)
$(1)_cmake += -DCMAKE_INSTALL_RPATH:PATH="$$($($(1)_type)_prefix)/lib"