don't build for non pic

This commit is contained in:
christos 2018-05-03 01:14:54 +00:00
parent f2057d54c9
commit 3357bd401d

View File

@ -1,5 +1,7 @@
# $NetBSD: Makefile,v 1.1 2018/04/29 19:47:35 sevan Exp $
# $NetBSD: Makefile,v 1.2 2018/05/03 01:14:54 christos Exp $
.include <bsd.init.mk>
.if ${MKPIC} != no
LUA_MODULES=netpgp
LUA_SRCS.netpgp=glue.c
LUA_DPLIBS+=netpgp ${.CURDIR}/../../lib/netpgp
@ -7,5 +9,6 @@ LUA_DPLIBS+=netpgp ${.CURDIR}/../../lib/netpgp
EXTDIST=${.CURDIR}/../../dist
.PATH: ${EXTDIST}/bindings/lua
.endif
.include <bsd.lua.mk>