Commit 13892e86 authored by Natanael Copa's avatar Natanael Copa

main/lua: link to libpthread in case modules uses pthread

Otherwise a module thats linked to pthread will go boom.

This works around the issue with luasql.sqlite3.
See http://bugs.gentoo.org/show_bug.cgi?id=189804
parent 12c21563
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua
pkgver=5.1.4
pkgrel=2
pkgrel=3
pkgdesc="A powerful light-weight programming language designed for extending applications."
url="http://www.lua.org/"
license="MIT"
......@@ -31,7 +31,7 @@ build ()
make CFLAGS=" -DLUA_USE_LINUX $CFLAGS" \
RPATH="/usr/lib" \
LUA_LIBS="-lreadline" \
LIB_LIBS="-lm -ldl" \
LIB_LIBS="-lpthread -lm -ldl" \
V=$pkgver \
gentoo_all || return 1
......
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