forked from lix-project/lix
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
|
@ -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