From 34071b357d821cc6285ef85d600dfa842252949c Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 16 May 2016 16:49:30 +0200 Subject: Complete changes to use -L instead of -Wl,-rpath-link Changes missing from commit c9c29eb890527fe68900e4a0af7c2df9a9fa5b40. * console-client/Makefile (%.so.$(hurd-version)): Use $(lpath) instead of $(rpath) * libstore/Makefile (libstore_%.so.$(hurd-version)): Likewise. --- libstore/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libstore') diff --git a/libstore/Makefile b/libstore/Makefile index 28f56609..3ba00176 100644 --- a/libstore/Makefile +++ b/libstore/Makefile @@ -1,6 +1,7 @@ # Makefile for libstore # -# Copyright (C) 1995,96,97,2001,02 Free Software Foundation, Inc. +# Copyright (C) 1995, 1996, 1997, 1999, 2001, 2002, 2010, 2012, 2013, 2014, +# 2016 Free Software Foundation, Inc. # Written by Miles Bader # # This file is part of the GNU Hurd. @@ -73,7 +74,7 @@ libstore_bunzip2.so.$(hurd-version): $(BUNZIP2_OBJS:.o=_pic.o) # just include all the standard store types in libstore.so itself. libstore_%.so.$(hurd-version): %_pic.o libstore.so $(CC) -shared -Wl,-soname=$@ -o $@ \ - $(rpath) $(CFLAGS) $(LDFLAGS) $(libstore_$*.so-LDFLAGS) $^ + $(lpath) $(CFLAGS) $(LDFLAGS) $(libstore_$*.so-LDFLAGS) $^ # Each libstore_TYPE.a is in fact an object file script so that `-lstore_TYPE' # just has the same effect as `-u store_TYPE_class'. -- cgit v1.2.3