summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-06-23 12:35:05 +0200
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-06-23 12:35:05 +0200
commit31ce7050559f5963cd5c48e83466edcb0364c0db (patch)
tree0ebd38e30173f4a4e630f0f37d7fd583dd847b5a
parent5cdeba0da500dab61ab50d97cc66bfe6adcbdd42 (diff)
downloadmidipix_build-31ce7050559f5963cd5c48e83466edcb0364c0db.tar.bz2
midipix_build-31ce7050559f5963cd5c48e83466edcb0364c0db.tar.xz
Use ${PKG_TARGET} in pkg.build.
-rw-r--r--pkg.build5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkg.build b/pkg.build
index 163b0c84..6d96ca7f 100644
--- a/pkg.build
+++ b/pkg.build
@@ -162,7 +162,6 @@ if ! is_build_script_done install; then
fi;
find ${PKG_PREFIX}/lib -type f -name \*.la -exec rm -f {} \;
if [ ${PKG_LIBFILES_FIX:-0} -eq 1 ]; then
- env TARGET="${TARGET}" \
find . \( -name '*.so' -or -name '*.so.[0-9]' \
-or -name '*.so.[0-9].[0-9]' -or \
-name '*.so.[0-9].[0-9].[0-9]' \) \
@@ -173,8 +172,8 @@ if ! is_build_script_done install; then
else SO_NAME=${SO_PNAME}; fi; \
echo perk -epdlltool ${SO_PNAME} \> ${SO_NAME}.def; \
perk -epdlltool ${SO_PNAME} > ${SO_NAME}.def; \
- echo ${TARGET}-dlltool -l ${SO_NAME}.lib.a -D ${SO_PNAME} -d ${SO_NAME}.def; \
- ${TARGET}-dlltool -l ${SO_NAME}.lib.a -D ${SO_PNAME} -d ${SO_NAME}.def; \
+ echo ${PKG_TARGET}-dlltool -l ${SO_NAME}.lib.a -D ${SO_PNAME} -d ${SO_NAME}.def; \
+ ${PKG_TARGET}-dlltool -l ${SO_NAME}.lib.a -D ${SO_PNAME} -d ${SO_NAME}.def; \
echo cp ${SO_NAME}.lib.a '"${PKG_PREFIX}/lib"'; \
cp ${SO_NAME}.lib.a '"${PKG_PREFIX}/lib" \;;