summaryrefslogtreecommitdiff
path: root/mk/macros.mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2011-06-02 20:23:53 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2011-06-02 20:23:53 +0200
commit5e0a12a8930e1f5aa999d5f4f59518d2553d384c (patch)
treef14e1909c8c64052480ea504a83e1e4971b5250e /mk/macros.mk
parentfb9bd0d2aafaa4e147d2a66954a8a9313ab6a321 (diff)
downloadembtoolkit-5e0a12a8930e1f5aa999d5f4f59518d2553d384c.tar.gz
embtoolkit-5e0a12a8930e1f5aa999d5f4f59518d2553d384c.tar.bz2
embtoolkit-5e0a12a8930e1f5aa999d5f4f59518d2553d384c.tar.xz
Build system: strip directory passed to EMBTK_KILL_LT_RPATH
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk/macros.mk')
-rw-r--r--mk/macros.mk4
1 files changed, 2 insertions, 2 deletions
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
#