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