diff --git a/make/pkgs/transmission/transmission.mk b/make/pkgs/transmission/transmission.mk index 27f4867baf..8dce3b410d 100644 --- a/make/pkgs/transmission/transmission.mk +++ b/make/pkgs/transmission/transmission.mk @@ -118,6 +118,7 @@ $(PKG)_CONFIGURE_OPTIONS += -DB64_INCLUDE_DIR=OFF $(PKG)_CONFIGURE_OPTIONS += -DCMAKE_INSTALL_PREFIX=/ $(PKG)_CONFIGURE_OPTIONS += -DCMAKE_SKIP_RPATH=YES +$(PKG)_CONFIGURE_OPTIONS += -DCMAKE_CXX_FLAGS="-fPIC" ifeq ($(strip $(FREETZ_PACKAGE_TRANSMISSION_STATIC)),y) $(PKG)_CONFIGURE_OPTIONS += -DCMAKE_EXE_LINKER_FLAGS="-static" endif