summaryrefslogtreecommitdiff
path: root/lang/lua
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2015-03-05 14:15:45 +0000
committerryoon <ryoon@pkgsrc.org>2015-03-05 14:15:45 +0000
commit5b89a00e0b1d4a7f17ccda41d9f4817b78fbf26a (patch)
tree5c68a3289cf3a257787ce1ddf433af1884ef4086 /lang/lua
parentb5979e5663ab68461734512e3ea0e10627128c3f (diff)
downloadpkgsrc-5b89a00e0b1d4a7f17ccda41d9f4817b78fbf26a.tar.gz
-llua* is required for Cygwin build.
Diffstat (limited to 'lang/lua')
-rw-r--r--lang/lua/module.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/lua/module.mk b/lang/lua/module.mk
index 62b05d17c77..51705af236c 100644
--- a/lang/lua/module.mk
+++ b/lang/lua/module.mk
@@ -1,4 +1,4 @@
-# $NetBSD: module.mk,v 1.6 2014/05/03 13:00:44 alnsn Exp $
+# $NetBSD: module.mk,v 1.7 2015/03/05 14:15:45 ryoon Exp $
#
# This Makefile fragment is intended to be included by packages that
# install Lua modules.
@@ -53,4 +53,6 @@ PLIST_SUBST+= LUA_DOCDIR=${LUA_DOCDIR}
LUA_EXAMPLESDIR= share/examples/${PKGBASE}
PLIST_SUBST+= LUA_EXAMPLESDIR=${LUA_EXAMPLESDIR}
+LDFLAGS.Cygwin+= -llua${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR}
+
.endif # LUA_MODULE_MK