summaryrefslogtreecommitdiff
blob: 113b15058a740cb5af297f43bc9626cdb10da18d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- pwdb-0.62/libpwdb/Makefile	2003-03-24 09:42:42.000000000 +0000
+++ pwdb-0.62/libpwdb/Makefile	2003-03-24 09:34:04.000000000 +0000
@@ -50,7 +50,8 @@
 
 
 $(LIBDYNAME): $(LIBOBJ)
-	$(LD) -soname $(LIBSONAME) -x -shared -o $(LIBFILENAME) $(LIBOBJ) -lcrypt -lnsl -lc
+	#$(LD) -soname $(LIBSONAME) -x -shared -o $(LIBFILENAME) $(LIBOBJ) -lcrypt -lnsl -lc
+	$(CC) -shared -Wl,-soname -Wl,$(LIBSONAME) -Wl,-x -o $(LIBFILENAME) $(LIBOBJ)  -lcrypt -lnsl -lc
 	@ln -sf $(LIBFILENAME) $@
 
 $(LIBSTATIC): $(LIBOBJ)