summaryrefslogtreecommitdiffstats
path: root/package/strongswan/patches/130-make-starter.patch
blob: 9250f01081dc52145be93a11823b772ed6306d80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff -ruN strongswan-2.8.1-orig/programs/starter/Makefile strongswan-2.8.1/programs/starter/Makefile
--- strongswan-2.8.1-orig/programs/starter/Makefile	2006-02-17 14:34:02.000000000 -0500
+++ strongswan-2.8.1/programs/starter/Makefile	2007-01-17 16:15:30.740490094 -0500
@@ -16,7 +16,6 @@
 FREESWANSRCDIR?=$(shell cd ../..; pwd)
 include ${FREESWANSRCDIR}/Makefile.inc
 
-LD=$(CC)
 RM=rm
 LEX=flex
 BISON=bison
@@ -59,7 +58,7 @@
 all:	starter
 
 starter:	$(OBJS) $(FREESWANLIB)
-		$(LD) $(LDFLAGS) -o starter $(OBJS) $(LIBS)
+		$(CC) $(LDFLAGS) -o starter $(OBJS) $(LIBS)
 
 lex.yy.c:	parser.tab.c parser.l parser.y parser.h
 		$(LEX) parser.l