fix(apr)[1]

This commit is contained in:
Jacob Heider 2023-04-21 02:09:00 -04:00
parent a117c4e8ae
commit 5a53b094fe
No known key found for this signature in database
GPG key ID: 59D15ADC7DCD39BB

View file

@ -22,6 +22,13 @@ build:
cd ../bin cd ../bin
sed -i.bak "s_{{prefix}}_\$(cd \$(dirname \$0)/.. \&\& pwd)_g" apr-{{version.major}}-config sed -i.bak "s_{{prefix}}_\$(cd \$(dirname \$0)/.. \&\& pwd)_g" apr-{{version.major}}-config
rm apr-{{version.major}}-config.bak rm apr-{{version.major}}-config.bak
cd ../build-1
sed -i.bak \
-e "s_{{prefix}}_\$(subst /bin/apr-{{version.major}}-config,,\$(shell command -v apr-{{version.major}}-config))_g" \
-e "s_${TEA_PREFIX}_\$(subst /apache.org/apr/v{{version}}/bin/apr-{{version.major}}-config,,\$(shell command -v apr-{{version.major}}-config))_g" \
apr_rules.mk
rm apr_rules.mk.bak
env: env:
# add any environment variables here # add any environment variables here
ARGS: ARGS: