Link to stdc++fs
Some platforms seem to still require linking with stdc++fs to enable STL std::filesystem support.
This commit is contained in:
parent
6c00a9545f
commit
cc4fe977e5
1 changed files with 4 additions and 0 deletions
|
@ -8,7 +8,11 @@ libexpr_SOURCES := $(wildcard $(d)/*.cc) $(wildcard $(d)/primops/*.cc) $(d)/lexe
|
|||
|
||||
libexpr_LIBS = libutil libstore libnixrust
|
||||
|
||||
ifeq ($(CXX), g++)
|
||||
libexpr_LDFLAGS = -lstdc++fs
|
||||
else
|
||||
libexpr_LDFLAGS =
|
||||
endif
|
||||
|
||||
ifneq ($(OS), FreeBSD)
|
||||
libexpr_LDFLAGS += -ldl
|
||||
|
|
Loading…
Reference in a new issue