mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
Enable pthreads for new libraries
Otherwise the lack of pthread causes linking to fail for NetBSD.
This commit is contained in:
parent
97be92569c
commit
ae0c026fe9
3 changed files with 4 additions and 2 deletions
|
@ -15,7 +15,7 @@ libexpr_CXXFLAGS += -I src/libutil -I src/libstore -I src/libfetchers -I src/lib
|
|||
|
||||
libexpr_LIBS = libutil libstore libfetchers
|
||||
|
||||
libexpr_LDFLAGS = -lboost_context
|
||||
libexpr_LDFLAGS = -lboost_context -pthread
|
||||
ifdef HOST_LINUX
|
||||
libexpr_LDFLAGS += -ldl
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue