From fd53d49f5b8e49cad3a97aae24b779cc4b720006 Mon Sep 17 00:00:00 2001
From: Jo-Philipp Wich <jow@openwrt.org>
Date: Sun, 8 Feb 2015 22:54:15 +0000
Subject: [PATCH] include: cmake: prevent inclusion of rpath in binaries

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44328
---
 include/cmake.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/cmake.mk b/include/cmake.mk
index 6ab628ee2e..862a6a9b3f 100644
--- a/include/cmake.mk
+++ b/include/cmake.mk
@@ -61,6 +61,7 @@ define Build/Configure/Default
 			-DCMAKE_INSTALL_PREFIX=/usr \
 			-DDL_LIBRARY=$(STAGING_DIR) \
 			-DCMAKE_PREFIX_PATH=$(STAGING_DIR) \
+			-DCMAKE_SKIP_RPATH=TRUE  \
 			$(CMAKE_OPTIONS) \
 		$(CMAKE_SOURCE_DIR) \
 	)
-- 
GitLab