From 5e0a12a8930e1f5aa999d5f4f59518d2553d384c Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Thu, 2 Jun 2011 20:23:53 +0200 Subject: Build system: strip directory passed to EMBTK_KILL_LT_RPATH Signed-off-by: Abdoulaye Walsimou Gaye --- mk/macros.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk/macros.mk') diff --git a/mk/macros.mk b/mk/macros.mk index 625059c..ec02a0a 100644 --- a/mk/macros.mk +++ b/mk/macros.mk @@ -206,7 +206,7 @@ endif #A macro to remove rpath in packages that use libtool -rpath define EMBTK_KILL_LT_RPATH - @cd $(1); \ + @cd $(strip $(1)); \ LOCAL_LT_FILES=`find -type f -name libtool`; \ for i in $$LOCAL_LT_FILES; \ do \ @@ -271,7 +271,7 @@ define EMBTK_CONFIGURE_PKG --prefix=/usr --sysconfdir=/etc --disable-rpath \ $($(1)_CONFIGURE_OPTS) @touch $($(1)_BUILD_DIR)/.configured - $(call EMBTK_KILL_LT_RPATH,"$($(1)_BUILD_DIR)") + $(call EMBTK_KILL_LT_RPATH,$($(1)_BUILD_DIR)) endef # -- cgit v1.2.3