Skip to content

Commit 7337fa0

Browse files
committed
Makefile improvement (silence pkgconfig warning)
Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>
1 parent 91bbd64 commit 7337fa0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ LUA_BIN ?= $(LUA_IMPL)
1212
CC ?= $(MAC_ENV) gcc
1313

1414

15-
LUA_VERSION = $(shell $(PKG_CONFIG) --print-provides $(LUA_IMPL))
15+
LUA_VERSION = $(shell $(PKG_CONFIG) --print-provides $(LUA_IMPL) 2>/dev/null)
1616
ifeq ($(LUA_VERSION),)
1717
LUA_CMOD ?= /usr/lib/lua/5.1
1818
LUA_LMOD ?= /usr/share/lua/5.1

0 commit comments

Comments
 (0)