httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <>
Subject [PATCH] Properly install files with libtool.
Date Wed, 22 Aug 2001 08:22:38 GMT
I think we need to be doing this.  But, I'm not enough of a libtool
hacker to be sure about this.  

If we don't do this for a shared library build of httpd, we end up 
copying libtool scripts over to our install location.  Then, when 
the scripts are first run, they copy over the actual binaries to
.libs/lt-*.  What about when the user has blown away his source/build
directory after an install but before first execution?  Oops.


${prefix}/bin/httpd is a borne shell script from libtool.
${prefix}/bin/.libs/lt-httpd is the actual executable *only* copied at
first run.

This looks like it'd do the "right" thing, but I don't have time to test
it right now.  I want to go to bed.  -- justin

RCS file: /home/cvs/httpd-2.0/build/,v
retrieving revision 1.60
diff -u -r1.60
---    2001/08/21 23:41:35 1.60
+++    2001/08/22 08:11:10
@@ -90,7 +90,7 @@
 # Helper programs
 MKINSTALLDIRS = $(abs_srcdir)/build/
-INSTALL = $(abs_srcdir)/build/ -c
+INSTALL = $(LIBTOOL) --mode=install $(abs_srcdir)/build/ -c

View raw message