diff options
| author | ruki <[email protected]> | 2022-12-23 00:26:40 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-12-23 00:26:40 +0800 |
| commit | 0cc45912f6ab2779b9c2f4079feee214d4bd0c6f (patch) | |
| tree | 208ad3e6226a5aa9dfc97c28552d1a5b93fcb757 | |
| parent | a4a777d6a9efeabad8747577ed04827623a165b9 (diff) | |
update configure
| -rwxr-xr-x | configure | 6 | ||||
| m--------- | core/src/tbox/tbox | 0 |
2 files changed, 5 insertions, 1 deletions
@@ -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 |
