master failing to build on MacOS High Sierra
Failing when building libwrap.la
gcc -dynamiclib -undefined dynamic_lookup -Wl,-z,interpose -o libwrap.la wrap.o -llmdb -L/opt/local/lib -luv -lpthread -ldl -L/opt/local/lib -L/opt/local/lib -lcmocka
ld: unknown option: -z
clang: error: linker command failed with exit code 1 (use -v to see invocation)
offending command introduced in 53f0b6c3
Additionally -Wl,-rpath=<path>
needs to be -Wl,-rpath,<path>
.
Edited by Mark Andrews