summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-06-05 23:36:31 +0800
committerruki <[email protected]>2023-06-05 23:36:31 +0800
commit0dbe946d8276769c2033a629351579893cd96c4f (patch)
tree1a2193f3000f9a3f6305cb2673456c8d5e5d013b
parent01d9cc1646c628f8435615b2ad151f93edecf707 (diff)
update configure
-rwxr-xr-xconfigure6
1 files changed, 1 insertions, 5 deletions
diff --git a/configure b/configure
index fb4325748..23df3f02c 100755
--- a/configure
+++ b/configure
@@ -3789,15 +3789,11 @@ _gmake_add_switches() {
echo "VV=@" >> "${xmake_sh_makefile}"
echo "endif" >> "${xmake_sh_makefile}"
echo "" >> "${xmake_sh_makefile}"
- echo "INSTALLDIR:=" >> "${xmake_sh_makefile}"
- echo "ifneq (\$(DESTDIR),)" >> "${xmake_sh_makefile}"
- echo "INSTALLDIR:=\$(DESTDIR)" >> "${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}"
+ echo "INSTALLDIR:=\$(DESTDIR)" >> "${xmake_sh_makefile}"
echo "ifneq (\$(PREFIX),)" >> "${xmake_sh_makefile}"
echo "ifneq (\$(INSTALLDIR),)" >> "${xmake_sh_makefile}"
echo "PREFIX_:=\$(patsubst /%,%,\$(PREFIX))" >> "${xmake_sh_makefile}"