diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2011-04-30 13:32:20 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2011-04-30 13:32:20 (GMT) |
commit | 13d5d3aa1577897e37fcea6810381e79fb8e07ff (patch) | |
tree | b1c5cc4d68d125264577a402c3843256eb113b9b /src/lua.mk | |
parent | a6283c5a8aad8d9d7b9f46a0b7e01e5d2872dc35 (diff) | |
download | mxe-13d5d3aa1577897e37fcea6810381e79fb8e07ff.zip mxe-13d5d3aa1577897e37fcea6810381e79fb8e07ff.tar.gz mxe-13d5d3aa1577897e37fcea6810381e79fb8e07ff.tar.bz2 |
install the *.pc script along with package lua
Diffstat (limited to 'src/lua.mk')
-rw-r--r-- | src/lua.mk | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -32,9 +32,11 @@ define $(PKG)_BUILD RANLIB='$(TARGET)-ranlib' \ INSTALL='$(INSTALL)' \ install ranlib + $(SED) -i 's,^prefix=.*,prefix=$(PREFIX)/$(TARGET),' '$(1)/etc/lua.pc' + $(INSTALL) -m644 '$(1)/etc/lua.pc' '$(PREFIX)/$(TARGET)/lib/pkgconfig/lua.pc' '$(TARGET)-gcc' \ -W -Wall -Werror -ansi -pedantic \ '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-lua.exe' \ - -llua + `'$(TARGET)-pkg-config' lua --cflags --libs` endef |