aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/ncftp3/files/patch-af
blob: 63681bfa82b6d684c5571f12aa42270f898880e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- Strn/Makefile.orig	Tue Nov 11 04:28:01 1997
+++ Strn/Makefile	Sat Dec 13 23:28:53 1997
@@ -42,7 +42,7 @@
 
 $(LIBSO): $(SOBJS)
 	/bin/rm -f $(LIBSO)
-	gcc -shared -Wl,-soname,$(LIBSO) -o $(LIBSO) $(SOBJS)
+	gcc -shared -Wl,-x -o $(LIBSO) `lorder $(SOBJS) | tsort -q`
 	/bin/ln -s $(LIBSO) $(LIBSOS)
 	-@/bin/ls -l $(LIBSOS) $(LIBSO)