diff --git a/ppkg b/ppkg index c12ee98..b3743f1 100755 --- a/ppkg +++ b/ppkg @@ -3127,6 +3127,25 @@ EOF run bsdtar tf "$TEPPUT_FILEPATH" } +# }}} +############################################################################## +# {{{ add_ldflags + +add_ldflags() { + for FLAG in "$@" + do + case $FLAG in + -l*) + PROXIED_CC_ARGS="$PROXIED_CC_ARGS $FLAG" + PROXIED_CXX_ARGS="$PROXIED_CXX_ARGS $FLAG" + ;; + *) LDFLAG="$LDFLAG $FLAG" + esac + shift + done +} + + # }}} ############################################################################## # {{{ waf @@ -9162,6 +9181,7 @@ export UPPM_HOME="$PPKG_HOME/uppm" if [ -n "$PPKG_URL_TRANSFORM" ] ; then export UPPM_URL_TRANSFORM="$PPKG_URL_TRANSFORM" + export URL_TRANSFORM="$PPKG_URL_TRANSFORM" fi uppm() { diff --git a/xbuilder b/xbuilder index 25d9dca..8dca1c9 100755 --- a/xbuilder +++ b/xbuilder @@ -1126,7 +1126,7 @@ ${COLOR_GREEN}xbuilder ls-available [-v]${COLOR_OFF} ${COLOR_GREEN}xbuilder install ... [OPTIONS]${COLOR_OFF} install the specified packages. - Influential environment variables: CC, CXX, CFLAGS, CXXFLAGS, CPPFLAGS, LDFLAGS, AS, LD, AR, RANLIB + Influential environment variables: CC, CXX, CFLAGS, CXXFLAGS, CPPFLAGS, LDFLAGS, AS, LD, AR, RANLIB, GMAKE, CMAKE, URL_TRANSFORM OPTIONS: ${COLOR_BLUE}--prefix=${COLOR_OFF}