Commit 6e26e066 authored by Natanael Copa's avatar Natanael Copa

main/lua-dap: fix segfault on x86_64

ref #1294
parent dbbe5086
......@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-ldap
pkgver=1.1.0
pkgrel=1
pkgrel=2
pkgdesc="Lua binding to ldap"
url="http://www.keplerproject.org/lualdap/"
arch="all"
......@@ -28,12 +28,14 @@ prepare() {
build() {
cd "$_builddir"
make OPENLDAP_LIB="-lldap -llber" || return 1
make OPENLDAP_LIB="-lldap -llber" \
WARN="-DLDAP_DEPRECATED -fPIC -ansi $CFLAGS" || return 1
}
package() {
cd "$_builddir"
make install LUA_LIBDIR="$pkgdir"/usr/lib/lua/5.1
local install_cmod=$(pkg-config --variable=INSTALL_CMOD lua)
make install LUA_LIBDIR="$pkgdir"/$install_cmod
}
md5sums="5e104520c3f1333f38817a9fa1e76681 lualdap-1.1.0.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment