Skip to content

Commit

Permalink
Explicitly set pkg-config directory when building ZMQ locally
Browse files Browse the repository at this point in the history
Closes #8.
  • Loading branch information
nnicandro committed Mar 5, 2019
1 parent 265cded commit 99c1101
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ BUILD_ZMQ_LOCALLY = yes
ZMQ_VERSION ?= 4.3.1
ZMQ_BASE_BUILD_DIR = $(CURDIR)/libzmq/build/$(ZMQ_BUILD_HOST)
ZMQ_BUILD_DIR = $(ZMQ_BASE_BUILD_DIR)/v$(ZMQ_VERSION)
ZMQ_PKG_CONFIG_DIR = $(ZMQ_BUILD_DIR)/lib/pkgconfig
ZMQ_PKG_CONFIG_DIR = $(ZMQ_BUILD_DIR)/pkgconfig
$(shell touch version)
endif
endif
Expand Down Expand Up @@ -128,6 +128,7 @@ endif
./configure CXXFLAGS=$(CXXFLAGS) --quiet --without-docs --prefix=$(ZMQ_BUILD_DIR) \
--enable-drafts=yes --enable-libunwind=no --enable-static=no \
--disable-curve-keygen --disable-perf --disable-eventfd \
--with-pkgconfigdir=$(ZMQ_PKG_CONFIG_DIR) \
--host=$(ZMQ_BUILD_HOST) && \
$(MAKE) install
ifneq ($(ZMQ_BUILD_FOR_WINDOWS),)
Expand Down

0 comments on commit 99c1101

Please sign in to comment.