Browse Source

build system fix

On GNU/Linux link with -lpthread and -ldl.  This in practice will not
entail portability problems on modern systems, and may be required --
it is on my debian unstable system, very recent as of August 2021.
JSON-955
Luca Saiu 10 months ago
parent
commit
ee8e425b09
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      server/Makefile

+ 1
- 1
server/Makefile View File

@ -45,7 +45,7 @@ ifeq ($(BUILD_ON),Darwin)
else ifeq ($(BUILD_ON),Linux)
ifeq ($(BUILD_FOR),Linux)
LDLIBS+= -luuid \
-lboost_filesystem -lboost_program_options -lboost_system -lboost_thread -lboost_regex
-lboost_filesystem -lboost_program_options -lboost_system -lboost_thread -lboost_regex -lpthread -ldl
else
$(error I do not know how to make for $(BUILD_FOR) on $(BUILD_ON))


Loading…
Cancel
Save