summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-12-23 00:26:40 +0800
committerruki <[email protected]>2022-12-23 00:26:40 +0800
commit0cc45912f6ab2779b9c2f4079feee214d4bd0c6f (patch)
tree208ad3e6226a5aa9dfc97c28552d1a5b93fcb757
parenta4a777d6a9efeabad8747577ed04827623a165b9 (diff)
update configure
-rwxr-xr-xconfigure6
m---------core/src/tbox/tbox0
2 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 0b939eeb5..7cd8d3ab8 100755
--- a/configure
+++ b/configure
@@ -3535,6 +3535,10 @@ _gmake_add_switches() {
echo "V=@" >> "${xmake_sh_makefile}"
echo "endif" >> "${xmake_sh_makefile}"
echo "" >> "${xmake_sh_makefile}"
+ echo "ifeq (\$(PREFIX),)" >> "${xmake_sh_makefile}"
+ echo "PREFIX=${_install_prefix_default}" >> "${xmake_sh_makefile}"
+ echo "endif" >> "${xmake_sh_makefile}"
+ echo "" >> "${xmake_sh_makefile}"
}
_gmake_add_flags() {
@@ -3758,7 +3762,7 @@ _gmake_add_install_target() {
path_filename "${targetfile}"; local filename="${_ret}"
_get_target_item "${target}" "installdir"; local installdir="${_ret}"
if test_z "${installdir}"; then
- installdir=${_install_prefix_default}
+ installdir="\$(PREFIX)"
fi
# install target file
diff --git a/core/src/tbox/tbox b/core/src/tbox/tbox
-Subproject a2d005d1664b03792337a758c8f993298117bb0
+Subproject 8706cffe25fad0278bcf95b8b4f95978c7b3898