summaryrefslogtreecommitdiff
blob: 1a8d0eb18cbe7180295cf3d1b5a72f2c938f2729 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Index: liblockfile-1.06/Makefile.in
===================================================================
--- liblockfile-1.06.orig/Makefile.in
+++ liblockfile-1.06/Makefile.in
@@ -32,11 +32,11 @@ liblockfile.a:	lockfile.o
 		ar rv liblockfile.a lockfile.o
 
 liblockfile.so: liblockfile.a
-		$(CC) -fPIC -shared -Wl,-soname,liblockfile.so.1 \
+		$(CC) $(LDFLAGS) -fPIC -shared -Wl,-soname,liblockfile.so.1 \
 			-o liblockfile.so lockfile.o -lc
 
 nfslock.so.$(VER):	nfslock.o
-		$(CC) -fPIC -shared -Wl,-soname,nfslock.so.0 \
+		$(CC) $(LDFLAGS) -fPIC -shared -Wl,-soname,nfslock.so.0 \
 			-o nfslock.so.$(NVER) nfslock.o
 
 dotlockfile:	dotlockfile.o xlockfile.o