packages/net/openswan/patches/100-cross_compile.patch
hauke 85992dc375 openswan: update openswan to version 2.6.41
This still does not fix the problems with kernel 3.10 and up.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@40620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-01 13:33:42 +00:00

27 lines
547 B
Diff

--- a/programs/pluto/Makefile
+++ b/programs/pluto/Makefile
@@ -66,10 +66,6 @@ CFLAGS+=-DALLOW_MICROSOFT_BAD_PROPOSAL
ALLFLAGS = $(CPPFLAGS) $(CFLAGS) ${CROSSFLAGS}
-ifneq ($(LD_LIBRARY_PATH),)
-LDFLAGS+=-L$(LD_LIBRARY_PATH)
-endif
-
LIBSADNS = $(OPENSWANLIB)
LIBSADNS += -lresolv # -lefence
--- a/programs/Makefile.program
+++ b/programs/Makefile.program
@@ -55,10 +55,6 @@ endif
CFLAGS+= ${WERROR}
-ifneq ($(LD_LIBRARY_PATH),)
-LDFLAGS=-L$(LD_LIBRARY_PATH)
-endif
-
ifeq ($(USE_DMALLOC),true)
CFLAGS+=-DDMALLOC
LIBS+= -ldmalloc