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 <[email protected]> --- net/openl2tp/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/net/openl2tp/Makefile b/net/openl2tp/Makefile index a263e1a..6f939d5 100644 --- a/net/openl2tp/Makefile +++ b/net/openl2tp/Makefile @@ -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) -- 1.7.9.4
pgptJ3ZJJHo4e.pgp
Description: PGP signature
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
