mirror of
https://github.com/libtom/libtomcrypt
synced 2026-08-25 20:26:07 -04:00
Handle potential pkg-config failures
There are cases where we want to use an MPI provider, but the package is not installed in the system, so `pkg-config` can't find it. To solve this simply ignore the errors created and only print something if the user asks us to by passing `V=1`. Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
This commit is contained in:
parent
54a16fb672
commit
87ff205c8b
2 changed files with 11 additions and 9 deletions
2
makefile
2
makefile
|
|
@ -13,9 +13,11 @@ endif
|
|||
ifeq ($V,1)
|
||||
silent=
|
||||
silent_stdout=
|
||||
silent_stderr=
|
||||
else
|
||||
silent=@
|
||||
silent_stdout= > /dev/null
|
||||
silent_stderr= 2> /dev/null
|
||||
endif
|
||||
|
||||
PLATFORM := $(shell uname | sed -e 's/_.*//')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue