From 7696a97e84af33cee3ff919d673c6a72b26ebd25 Mon Sep 17 00:00:00 2001 From: heitbaum Date: Fri, 7 Jan 2022 15:17:14 +0000 Subject: [PATCH] fontconfig: remove RPATH --- packages/x11/other/fontconfig/package.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/x11/other/fontconfig/package.mk b/packages/x11/other/fontconfig/package.mk index b24f010477..de86bf3fba 100644 --- a/packages/x11/other/fontconfig/package.mk +++ b/packages/x11/other/fontconfig/package.mk @@ -17,7 +17,8 @@ PKG_CONFIGURE_OPTS_TARGET="--with-arch=${TARGET_ARCH} \ --with-default-fonts=/usr/share/fonts \ --without-add-fonts \ --disable-dependency-tracking \ - --disable-docs" + --disable-docs \ + --disable-rpath" pre_configure_target() { # ensure we dont use '-O3' optimization. @@ -27,6 +28,10 @@ pre_configure_target() { CXXFLAGS+=" -I${PKG_BUILD}" } +post_configure_target() { + libtool_remove_rpath libtool +} + post_makeinstall_target() { rm -rf ${INSTALL}/usr/bin }