summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-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