diff options
| author | ruki <[email protected]> | 2022-12-25 13:29:00 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-12-25 13:29:00 +0800 |
| commit | 8a03211beacebee9efe2bd7ccdc8cc6be22eeb27 (patch) | |
| tree | 522b59791176e0cbf75a3813a04f00e714acf3a5 /configure | |
| parent | 5b6d8a1aee248e676c27600ed13e6acaf0760fcd (diff) | |
improve configure
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3580,7 +3580,10 @@ _gmake_add_switches() { echo "endif" >> "${xmake_sh_makefile}" echo "" >> "${xmake_sh_makefile}" echo "ifneq (\$(PREFIX),)" >> "${xmake_sh_makefile}" + echo "ifneq (\$(INSTALLDIR),)" >> "${xmake_sh_makefile}" echo "INSTALLDIR:=\$(INSTALLDIR)/\$(PREFIX)" >> "${xmake_sh_makefile}" + echo "else" >> "${xmake_sh_makefile}" + echo "INSTALLDIR:=\$(PREFIX)" >> "${xmake_sh_makefile}" echo "endif" >> "${xmake_sh_makefile}" echo "" >> "${xmake_sh_makefile}" echo "ifeq (\$(INSTALLDIR),)" >> "${xmake_sh_makefile}" |
