Skip to content
Snippets Groups Projects
Commit ef609351 authored by Jakub Jirutka's avatar Jakub Jirutka :flag_ua:
Browse files

main/pllua: build against LuaJIT

parent ac8e7d86
No related merge requests found
......@@ -5,10 +5,10 @@ pkgver=1.1.0
pkgrel=0
pkgdesc="Procedural language for PostgreSQL using Lua"
url="https://github.com/pllua/pllua"
arch="all"
arch="all !s390x" # s390x: luajit is not avail
license="GPL"
depends="postgresql"
makedepends="postgresql-dev lua-dev"
makedepends="postgresql-dev luajit-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/pllua/$pkgname/archive/v$pkgver.tar.gz
fix-on-32bit.patch
fix-postgres10.patch"
......@@ -17,7 +17,9 @@ options="!check" # tests require running PostgreSQL
build() {
cd "$builddir"
LUA_INCDIR=/usr/include LUALIB='-llua' USE_PGXS=1 make
make LUA_INCDIR=$(pkgconf --variable=includedir luajit) \
LUALIB=$(pkgconf --libs luajit) \
USE_PGXS=1
}
package() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment