mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Better diagnostics when a package can't be found.
This commit is contained in:
5
Makefile
5
Makefile
@@ -4,7 +4,7 @@ export CFLAGS = -Os -g --std=c++14 \
|
||||
-ffunction-sections -fdata-sections
|
||||
export LDFLAGS = -Os
|
||||
|
||||
ifeq ($(OS), Windows_NT)
|
||||
ifeq ($(OS), Windows_NTz)
|
||||
export CXX = /mingw32/bin/g++
|
||||
export AR = /mingw32/bin/ar rcs
|
||||
export STRIP = /mingw32/bin/strip
|
||||
@@ -16,7 +16,8 @@ else
|
||||
|
||||
packages-exist = $(shell pkg-config --exists $(PACKAGES))
|
||||
ifneq ($(packages-exist), 0)
|
||||
$(error You must install these packages with pkg-config: $(PACKAGES))
|
||||
$(warning These pkg-config packages are installed: $(shell pkg-config --list-all | awk '{print $$1}'))
|
||||
$(error You must have these pkg-config packages installed: $(PACKAGES) But only)
|
||||
endif
|
||||
|
||||
export CXX = g++
|
||||
|
||||
Reference in New Issue
Block a user