[Buildroot] [git commit master] lua: fix pkgconfig installation

Peter Korsgaard jacmet at sunsite.dk
Sun May 2 22:00:10 UTC 2010


commit: http://git.buildroot.net/buildroot/commit/?id=8471827f32e92c12e90ba2a534d00873845617c2
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

install -D needs the destination filename, not just it's directory,
otherwise we end up with a pkgconfig file instead.

Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 package/lua/lua.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/lua/lua.mk b/package/lua/lua.mk
index 9b23021..d66be9f 100644
--- a/package/lua/lua.mk
+++ b/package/lua/lua.mk
@@ -39,7 +39,7 @@ endif
 
 define LUA_INSTALL_STAGING_CMDS
 	$(INSTALL) -m 0644 -D $(@D)/etc/lua.pc \
-		$(STAGING_DIR)/usr/lib/pkgconfig
+		$(STAGING_DIR)/usr/lib/pkgconfig/lua.pc
 	$(INSTALL) $(@D)/src/liblua.a $(STAGING_DIR)/usr/lib
 	$(INSTALL) $(@D)/src/lua $(STAGING_DIR)/usr/bin
 	$(INSTALL) $(@D)/src/luac $(STAGING_DIR)/usr/bin
-- 
1.6.3.3




More information about the buildroot mailing list