Patchwork [V2,1/2] luarocks: never wraps script

login
register
mail settings
Submitter Francois Perrad
Date Feb. 3, 2014, 11:07 a.m.
Message ID <1391425657-30915-1-git-send-email-francois.perrad@gadz.org>
Download mbox | patch
Permalink /patch/316128/
State Accepted
Commit 29e583388fcc7f8c2171319061a1c860bb58c832
Headers show

Comments

Francois Perrad - Feb. 3, 2014, 11:07 a.m.
the wrapper introduces some HOST_DIR paths on target

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 package/luarocks/luarocks.mk |    1 +
 1 file changed, 1 insertion(+)
Yann E. MORIN - Feb. 3, 2014, 8:16 p.m.
Franc├žois, All,

On 2014-02-03 12:07 +0100, Francois Perrad spake thusly:
> the wrapper introduces some HOST_DIR paths on target

Can you explain a bit more in details what this wrapper is, and why we
do not want it (besides the fact it uses HOST_DIR paths on the target)?

Regards,
Yann E. MORIN.

Patch

diff --git a/package/luarocks/luarocks.mk b/package/luarocks/luarocks.mk
index 88ab22a..86e57d2 100644
--- a/package/luarocks/luarocks.mk
+++ b/package/luarocks/luarocks.mk
@@ -37,6 +37,7 @@  define HOST_LUAROCKS_INSTALL_CMDS
 	echo "external_deps_dirs = { [[$(STAGING_DIR)/usr]] }"  >> $(LUAROCKS_CONFIG_FILE)
 	echo "gcc_rpath = false"                                >> $(LUAROCKS_CONFIG_FILE)
 	echo "rocks_trees = { [[$(TARGET_DIR)/usr]] }"          >> $(LUAROCKS_CONFIG_FILE)
+	echo "wrap_bin_scripts = false"                         >> $(LUAROCKS_CONFIG_FILE)
 endef
 
 $(eval $(host-generic-package))