mirror of
https://github.com/NixOS/nix
synced 2025-07-01 16:41:47 +02:00
Only link with -pthread
on Unix
We don't want this with MinGW.
This commit is contained in:
parent
f9e5eb5f0a
commit
423484ad26
11 changed files with 16 additions and 10 deletions
|
@ -16,7 +16,7 @@ libexpr_CXXFLAGS += -I src/libutil -I src/libstore -I src/libfetchers -I src/lib
|
|||
|
||||
libexpr_LIBS = libutil libstore libfetchers
|
||||
|
||||
libexpr_LDFLAGS += -lboost_context -pthread
|
||||
libexpr_LDFLAGS += -lboost_context $(THREAD_LDFLAGS)
|
||||
ifdef HOST_LINUX
|
||||
libexpr_LDFLAGS += -ldl
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue