This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: make install without previous make


Ulrich Drepper <drepper@cygnus.com> writes:

|> Andreas Jaeger <aj@suse.de> writes:
|> 
|> > 1999-09-27  Andreas Jaeger  <aj@suse.de>
|> > 
|> > 	* db2/Makefile ($(objpfx)db_dump185): Link against unversioned
|> >  	library.  Otherwise make install without a previous make wouldn't
|> >  	work.
|> 
|> This seems wrong.  We should force `make install' generate the
|> necessary symlink.

Here is a patch:

1999-09-29  Andreas Schwab  <schwab@suse.de>

	* Makerules: When installing a versioned library depend on the
	versioned name in build directory.

Index: Makerules
===================================================================
RCS file: /glibc/cvsfiles/libc/Makerules,v
retrieving revision 1.322.2.3
diff -u -a -u -r1.322.2.3 Makerules
--- Makerules	1999/08/01 22:23:27	1.322.2.3
+++ Makerules	1999/09/29 08:51:53
@@ -743,7 +743,7 @@
 include $(o-iterator)
 
 define o-iterator-doit
-$(inst_slibdir)/$(o:.so=)-$(version).so: $(objpfx)$o $(+force);
+$(inst_slibdir)/$(o:.so=)-$(version).so: $(objpfx)$o$($o-version) $(+force);
 	$$(do-install-program)
 endef
 object-suffixes-left := $(versioned)
@@ -758,7 +758,7 @@
 include $(o-iterator)
 
 define o-iterator-doit
-$(inst_slibdir)/$(o:.so=)-$($(subdir)-version).so: $(objpfx)$o $(+force);
+$(inst_slibdir)/$(o:.so=)-$($(subdir)-version).so: $(objpfx)$o$($o-version) $(+force);
 	$$(do-install-program)
 endef
 object-suffixes-left := $(versioned)

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]