mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
fix installation with ./ginstall in src
* src/Makefile.am (cu_install_program): New variable, set to either ./ginstall or @INSTALL_PROGRAM@ (for cross compilation). (INSTALL_PROGRAM): Override AC_SUBST unconditionally, to avoid warning, and wrong initialization order.
This commit is contained in:
1 parent
2643b4b77d
commit
beaee48f26
1 file changed
+5
-2
+5
-2
@@ -466,6 +466,9 @@ sc_tight_scope: $(all_programs)
|
||||
exit 1; } || :
|
||||
|
||||
# Use the just-built ./ginstall, when not cross-compiling.
|
||||
if !CROSS_COMPILING
|
||||
INSTALL_PROGRAM = ./ginstall
|
||||
if CROSS_COMPILING
|
||||
cu_install_program = @INSTALL_PROGRAM@
|
||||
else
|
||||
cu_install_program = ./ginstall
|
||||
endif
|
||||
INSTALL_PROGRAM = $(cu_install_program)
|
||||
Reference in new issue
Block a user