Skip to content

Commit

Permalink
Give self-built dependency precedence over old system version
Browse files Browse the repository at this point in the history
  • Loading branch information
LourensVeen committed Nov 23, 2024
1 parent d9a60f2 commit 4fbf524
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libmuscle/cpp/build/libmuscle/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,11 @@ ifeq "$(filter $(MAKECMDGOALS),$(cleantargets))" ""

# Dependencies
$(info pcextra: $(PKG_CONFIG_EXTRA_DIRS))
CXXFLAGS += $(shell export PKG_CONFIG_PATH=$(PKG_CONFIG_PATH):$(PKG_CONFIG_EXTRA_DIRS) ; pkg-config --cflags msgpack)
CXXFLAGS += $(shell export PKG_CONFIG_PATH=$(PKG_CONFIG_EXTRA_DIRS):$(PKG_CONFIG_PATH) ; pkg-config --cflags msgpack)

LDFLAGS2 = $(LDFLAGS)
LDFLAGS2 += -pthread -L$(CURDIR)/../ymmsl -lymmsl
LDFLAGS2 += $(shell export PKG_CONFIG_PATH=$(PKG_CONFIG_PATH):$(PKG_CONFIG_EXTRA_DIRS) ; pkg-config --libs msgpack)
LDFLAGS2 += $(shell export PKG_CONFIG_PATH=$(PKG_CONFIG_EXTRA_DIRS):$(PKG_CONFIG_PATH) ; pkg-config --libs msgpack)

# Automatic header dependencies
-include $(deps)
Expand Down

0 comments on commit 4fbf524

Please sign in to comment.