summaryrefslogtreecommitdiff
path: root/comms/pilot-link/patches/patch-ac
blob: bacb48e59fae08234c75cce4c7f89498545de5f6 (plain)
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
$NetBSD: patch-ac,v 1.1 2001/06/27 18:04:39 jlam Exp $

--- libsock/Makefile.in.orig	Tue Jun 19 12:25:26 2001
+++ libsock/Makefile.in
@@ -25,7 +25,7 @@
 top_builddir = ..
 
 CC = @CC@
-CFLAGS = -I../include -I$(srcdir)/../include @CFLAGS@ @CWFLAG@
+CFLAGS = -I../include -I$(srcdir)/../include @CFLAGS@ @CWFLAG@ $(ICONV_CFLAGS)
 # -DPADP_TRACE
 # -DDEBUG
 # -DNO_DLP_TRACE
@@ -36,6 +36,9 @@
 RM = rm -f
 LIBTOOL = @LIBTOOL@
 
+ICONV_CFLAGS = @ICONV_CFLAGS@
+ICONV_LIBS = @ICONV_LIBS@
+
 .SUFFIXES: .c .lo .o
 
 .c.o:
@@ -54,7 +57,7 @@
 libpisock.la: $(OBJS)
 	$(LIBTOOL) --mode=link $(CC) $(CFLAGS) \
 		-export-dynamic -rpath $(libdir) -version-info 4:0:0 \
-		-o libpisock.la $(OBJS)
+		-o libpisock.la $(OBJS) $(LDFLAGS) $(ICONV_LIBS)
 
 # OS/2 dll build rules,  This is somewhat of a hack.
 # This target creates the OS/2 linker .def file dynanmically.