diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-01-14 08:18:49 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-01-14 08:18:49 +0100 |
commit | aeaa5ab9f5f1148331ca466e00e2e0f2b0e867ab (patch) | |
tree | 7df8114504e3969fb076a280ecac56914f7ca766 /zmqtest | |
parent | 7959f2ca2f2c0cea1f34b5469311d9a9a2f240cd (diff) | |
download | mmbtools-aux-aeaa5ab9f5f1148331ca466e00e2e0f2b0e867ab.tar.gz mmbtools-aux-aeaa5ab9f5f1148331ca466e00e2e0f2b0e867ab.tar.bz2 mmbtools-aux-aeaa5ab9f5f1148331ca466e00e2e0f2b0e867ab.zip |
use pkgconfig to find zmq in zmq-sub Makefile
Diffstat (limited to 'zmqtest')
-rw-r--r-- | zmqtest/zmq-sub/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/zmqtest/zmq-sub/Makefile b/zmqtest/zmq-sub/Makefile index 1b1f646..be3ea43 100644 --- a/zmqtest/zmq-sub/Makefile +++ b/zmqtest/zmq-sub/Makefile @@ -1,6 +1,8 @@ GIT_VERSION = $(shell git describe --long --all | cut -d "-" -f 3) -CFLAGS = -Wall -g -std=gnu11 -lzmq -DGIT_VERSION=\"$(GIT_VERSION)\" +ZMQ_LIB=$(shell pkg-config --libs libzmq) + +CFLAGS = -Wall -g -std=gnu11 $(ZMQ_LIB) -DGIT_VERSION=\"$(GIT_VERSION)\" all: zmq-sub |