summaryrefslogtreecommitdiff
path: root/ftp/ncftp3/files/patch-af
blob: e1789260866bd27f5cf6dcd5b1dbccf839cfb634 (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 Sep 26 19:47:28 1998
@@ -42,7 +42,7 @@
 
 $(LIBSO): $(SOBJS)
 	/bin/rm -f $(LIBSO)
-	gcc -shared -Wl,-soname,$(LIBSO) -o $(LIBSO) $(SOBJS)
+	$(CC) -shared -Wl,-x -o $(LIBSO) `lorder $(SOBJS) | tsort -q`
 	/bin/ln -s $(LIBSO) $(LIBSOS)
 	-@/bin/ls -l $(LIBSOS) $(LIBSO)