aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/ncftp3/files/patch-af
blob: 11d901fadec8b92c5b0ae621c0bb02a733144af5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
*** Strn/Makefile.orig	Tue Nov 11 15:28:01 1997
--- Strn/Makefile	Tue Sep  8 00:25:07 1998
***************
*** 6,12 ****
  SHELL=/bin/sh
  .SUFFIXES: .c .o .so
  LIB=libStrn.a
! LIBSO=libStrn.so.1
  LIBSOS=libStrn.so
  CC=cc
  CPPFLAGS=
--- 6,12 ----
  SHELL=/bin/sh
  .SUFFIXES: .c .o .so
  LIB=libStrn.a
! LIBSO=libStrn.so.1.0
  LIBSOS=libStrn.so
  CC=cc
  CPPFLAGS=
***************
*** 42,48 ****
  
  $(LIBSO): $(SOBJS)
  	/bin/rm -f $(LIBSO)
! 	gcc -shared -Wl,-soname,$(LIBSO) -o $(LIBSO) $(SOBJS)
  	/bin/ln -s $(LIBSO) $(LIBSOS)
  	-@/bin/ls -l $(LIBSOS) $(LIBSO)
  
--- 42,48 ----
  
  $(LIBSO): $(SOBJS)
  	/bin/rm -f $(LIBSO)
! 	$(CC) -shared -Wl,-x -o $(LIBSO) `lorder $(SOBJS) | tsort -q`
  	/bin/ln -s $(LIBSO) $(LIBSOS)
  	-@/bin/ls -l $(LIBSOS) $(LIBSO)