projects
/
platform
/
upstream
/
nsjail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb179f1
)
Makefile: check for existence of pkg-config
author
Robert Swiecki
<robert@swiecki.net>
Tue, 13 Feb 2018 16:12:55 +0000
(17:12 +0100)
committer
Robert Swiecki
<robert@swiecki.net>
Tue, 13 Feb 2018 16:12:55 +0000
(17:12 +0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
9b88fc9
..
ade7784
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-16,6
+16,11
@@
# See the License for the specific language governing permissions and
# limitations under the License.
+PKG_CONFIG=$(shell which pkg-config)
+ifeq ($(PKG_CONFIG),)
+$(error "Install pkg-config to make it work")
+endif
+
CC ?= gcc
CXX ?= g++