Explorar o código

lua: fix pkgconfig installation

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@sunsite.dk>
Peter Korsgaard %!s(int64=15) %!d(string=hai) anos
pai
achega
8471827f32
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      package/lua/lua.mk

+ 1 - 1
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