export CONTROL_PREIN CONTROL_PREUN CONTROL_POSTIN CONTROL_POSTUN
+export QUALITY_AGENT_RPATH_ALLOW_ORIGIN
export QUALITY_AGENT_WHITELIST_EXECSTACK
export QUALITY_AGENT_WHITELIST_NX
export QUALITY_AGENT_WHITELIST_RPATH
# $(THISAPP)-resolv_response_length.patch
# This patch does a check on the buffer size of res_* functions.
-###############################################################################
-# Installation Details
-###############################################################################
+QUALITY_AGENT_RPATH_ALLOW_ORIGIN=yes
define STAGE_PREPARE
@cd $(DIR_SRC) && $(DO_EXTRACT) $(DIR_DL)/$(firstword $(PKG_OBJECTS))
rpath=$(get_rpath ${file})
if [ -n "${rpath}" ]; then
+ if [ "${QUALITY_AGENT_RPATH_ALLOW_ORIGIN}" = "yes" ]; then
+ [ "${rpath}" = '$ORIGIN' ] && continue
+ fi
if listmatch ${rpath} ${QUALITY_AGENT_WHITELIST_RPATH}; then
continue
fi