mirror of
https://github.com/NixOS/nix
synced 2025-06-30 07:33:16 +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
|
@ -8,7 +8,7 @@ libcmd_SOURCES := $(wildcard $(d)/*.cc)
|
|||
|
||||
libcmd_CXXFLAGS += -I src/libutil -I src/libstore -I src/libexpr -I src/libmain -I src/libfetchers
|
||||
|
||||
libcmd_LDFLAGS = $(EDITLINE_LIBS) $(LOWDOWN_LIBS) -pthread
|
||||
libcmd_LDFLAGS = $(EDITLINE_LIBS) $(LOWDOWN_LIBS) $(THREAD_LDFLAGS)
|
||||
|
||||
libcmd_LIBS = libstore libutil libexpr libmain libfetchers
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue