summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorjerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68>2001-12-11 01:42:10 +0000
committerjerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68>2001-12-11 01:42:10 +0000
commit24253be39449ee37af5548bf3bd0aa908bfdc956 (patch)
tree40cf79cfb9586fc1120055bcf0b145d9d958957d /Makefile.in
parent906ea48253fd7d5c22b5eea17bc25c459c35a301 (diff)
downloadlibapr-24253be39449ee37af5548bf3bd0aa908bfdc956.tar.gz
If we tell libtool what our link dependencies are (by including them when
we build libapr.la), it will remember the dependencies for us. So, if a third-party (say httpd, flood, SVN, etc.) want to link against libapr.la, they don't need to worry about the library dependencies that are currently stored in EXTRA_LIBS et al. This has been tested with libtool-1.4. Further testing and integration needs to be done. But, this could simplify our build system a bit w.r.t. library dependencies. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62618 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 37c03f8cc..2e18df619 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -18,6 +18,7 @@ CLEAN_SUBDIRS= . test build
INSTALL_SUBDIRS=@INSTALL_SUBDIRS@
TARGET_LIB = libapr.la
+DEPEND_LIBS = @EXTRA_LIBS@ @LIBTOOL_LIBS@
#
# Rules for building specific targets, starting with 'all' for
@@ -75,7 +76,7 @@ install: $(TARGET_LIB)
$(TARGET_LIB):
@for i in $(SUBDIRS); do objects="$$objects $$i/*.@so_ext@"; done ; \
- tmpcmd="$(LINK) @lib_target@"; \
+ tmpcmd="$(LINK) @lib_target@ $(DEPEND_LIBS)"; \
echo $$tmpcmd; \
$$tmpcmd