GNU bug report logs -
#33779
Wrong lib-list in install-%DIR%LTLIBRARIES
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
All,
looking at lib/am/ltlib.am, the rule for installing libraries looks
weird for the !LIBTOOL case. Though I have the impression that this
file should not be used at all, if libtool is not used. Nevertheless,
the install command in this cases uses the $list variable, not the
sanitized $list2 variable. A simple patch looks like:
diff --git i/lib/am/ltlib.am w/lib/am/ltlib.am
index 1cbf7192e..2ac157472 100644
--- i/lib/am/ltlib.am
+++ w/lib/am/ltlib.am
@@ -49,8 +49,8 @@ if %?BASE%
## permissions to use.
?LIBTOOL? echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS)
--mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2
'$(DESTDIR)$(%NDIR%dir)'"; \
?LIBTOOL? $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS)
--mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2
"$(DESTDIR)$(%NDIR%dir)"; \
-?!LIBTOOL? echo " $(INSTALL) $(INSTALL_STRIP_FLAG) $$list
'$(DESTDIR)$(%NDIR%dir)'"; \
-?!LIBTOOL? $(INSTALL) $(INSTALL_STRIP_FLAG) $$list
"$(DESTDIR)$(%NDIR%dir)"; \
+?!LIBTOOL? echo " $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2
'$(DESTDIR)$(%NDIR%dir)'"; \
+?!LIBTOOL? $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2
"$(DESTDIR)$(%NDIR%dir)"; \
}
else !%?BASE%
@list='$(%DIR%_LTLIBRARIES)'; test -n "$(%NDIR%dir)" || list=; \
Best,
Bert
This bug report was last modified 2 years and 141 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.