From 260825beb19734b7db8781cab389afa703f8f77f Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Fri, 20 Apr 2012 13:26:14 +0000 Subject: [PATCH] openl2tp: fix library path When host is x86_64 other than Debian, the Makefile of openl2tp uses /usr/lib64 as SYS_LIBDIR instead of /usr/lib. Aparently setting CROSS_COMPILE is the way the authors intended to handle this situation correctly. Signed-off-by: Daniel Golle SVN-Revision: 31366 --- net/openl2tp/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net/openl2tp/Makefile b/net/openl2tp/Makefile index a263e1a80..83c14b5c7 100644 --- a/net/openl2tp/Makefile +++ b/net/openl2tp/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2009-2011 OpenWrt.org +# Copyright (C) 2009-2012 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=openl2tp PKG_VERSION:=1.8 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/openl2tp @@ -79,6 +79,7 @@ MAKE_FLAGS+= \ CFLAGS.optimize="$(TARGET_CFLAGS)" \ CPPFLAGS-y="-I$(STAGING_DIR)/usr/include" \ L2TP_FEATURE_LOCAL_CONF_FILE=y \ + CROSS_COMPILE="$(TARGET_CROSS)" \ ifeq ($(BUILD_VARIANT),full) -- 2.30.2