diff options
author | Francois Perrad <fperrad@gmail.com> | 2012-07-17 10:18:28 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-07-17 21:19:36 +0200 |
commit | 641f5dcb764f63c086a23a2018aca952e83ef666 (patch) | |
tree | b12572a5bf1aaf9d130a746986247256dd493df9 /package/lua/lua.mk | |
parent | 2c7e9c50e9bef1c494ef90411a466ad320846b96 (diff) |
lua: refactor root path tuning
Use a patch rather than sed'ing files in the build process.
Signed-off-by: Francois Perrad <fperrad@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/lua/lua.mk')
-rw-r--r-- | package/lua/lua.mk | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/package/lua/lua.mk b/package/lua/lua.mk index b61d6f1fa..1e5207559 100644 --- a/package/lua/lua.mk +++ b/package/lua/lua.mk @@ -28,7 +28,6 @@ HOST_LUA_MYLIBS = -ldl define LUA_BUILD_CMDS sed -i -e 's/-O2//' $(@D)/src/Makefile - sed -i -e 's/\/usr\/local/\/usr/' $(@D)/etc/lua.pc $(MAKE) \ CC="$(TARGET_CC)" RANLIB="$(TARGET_RANLIB)" \ MYCFLAGS="$(TARGET_CFLAGS) $(LUA_MYCFLAGS)" \ @@ -38,7 +37,6 @@ endef define HOST_LUA_BUILD_CMDS sed -i -e 's/-O2//' $(@D)/src/Makefile - sed -i -e 's/\/usr\/local/\/usr/' $(@D)/etc/lua.pc $(MAKE) \ MYCFLAGS="$(HOST_LUA_MYCFLAGS)" \ MYLIBS="$(HOST_LUA_MYLIBS)" \ |