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 /configure | |
| parent | a4a777d6a9efeabad8747577ed04827623a165b9 (diff) | |
update configure
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 6 |
1 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 |
