diff options
author | Greg Stein <gstein@apache.org> | 2002-08-29 17:56:52 +0000 |
---|---|---|
committer | Greg Stein <gstein@apache.org> | 2002-08-29 17:56:52 +0000 |
commit | 45a7e22e95a012114b69eded40e93d32dad680f5 (patch) | |
tree | 03cbaa9aca6427742efbf07791370cbcda20f9a0 /Makefile.in | |
parent | 17ccba9e78e435c78342ba171024e28ffe1d025e (diff) | |
download | apr-45a7e22e95a012114b69eded40e93d32dad680f5.tar.gz |
Fix the result of "apr-config --link-ld --libs". It did not include
the "-0" suffix on the lib name.
- Remove "lib" prefix from APR_LIBNAME definition.
- Determine ld-style library name from APR_LIBNAME for correct suffix.
Submitted by: Scott Lamb <slamb@slamb.org>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63841 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index 1a74ac904..7f069db9c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -20,7 +20,7 @@ SUBDIRS=@SUBDIRS@ CLEAN_SUBDIRS= . test build INSTALL_SUBDIRS=@INSTALL_SUBDIRS@ -TARGET_LIB = @APR_LIBNAME@.la +TARGET_LIB = lib@APR_LIBNAME@.la # # Rules for building specific targets, starting with 'all' for @@ -118,7 +118,7 @@ export_vars.h: $(AWK) -f $(top_srcdir)/build/make_var_export.awk $(EXPORT_FILES) > $@ apr.exp: exports.c export_vars.h - @echo "#! @APR_LIBNAME@.so" > $@ + @echo "#! lib@APR_LIBNAME@.so" > $@ @echo "* This file was AUTOGENERATED at build time." >> $@ @echo "* Please do not edit by hand." >> $@ $(CPP) $(ALL_CPPFLAGS) $(ALL_INCLUDES) exports.c | grep "ap_hack_" | sed -e 's/^.*[)]\(.*\);$$/\1/' >> $@ |