packages/net/openswan/patches/100-cross_compile.patch
jow 5f89a754ef openswan: fix build against Linux v3.7.3
git-svn-id: svn://svn.openwrt.org/openwrt/packages@35266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-21 13:18:10 +00:00

27 lines
547 B
Diff

--- a/programs/pluto/Makefile
+++ b/programs/pluto/Makefile
@@ -58,10 +58,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