mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Produce a build-time error if the pkg-config packages aren't available.
This commit is contained in:
6
Makefile
6
Makefile
@@ -13,6 +13,12 @@ export LDFLAGS +=
|
||||
export LIBS = -static -lz -lsqlite3 -lusb-1.0
|
||||
export EXTENSION = .exe
|
||||
else
|
||||
|
||||
packages-exist = $(shell pkg-config --exists $(PACKAGES))
|
||||
ifneq ($(packages-exist), 0)
|
||||
$(error You must install these packages with pkg-config: $(PACKAGES))
|
||||
endif
|
||||
|
||||
export CXX = g++
|
||||
export AR = ar rcs
|
||||
export STRIP = strip
|
||||
|
||||
Reference in New Issue
Block a user