Skip to content

CMakeLists.txt: fix linking for macOS#6

Open
barracuda156 wants to merge 1 commit intoWindscribe:masterfrom
barracuda156:apple
Open

CMakeLists.txt: fix linking for macOS#6
barracuda156 wants to merge 1 commit intoWindscribe:masterfrom
barracuda156:apple

Conversation

@barracuda156
Copy link
Copy Markdown

Fixes linking failure:

[100%] Linking CXX shared library libwsnet.dylib
/opt/local/bin/cmake -E cmake_link_script CMakeFiles/wsnet.dir/link.txt --verbose=ON
Undefined symbols for architecture arm64:
  "_SCDynamicStoreCopyValue", referenced from:
      wsnet::getDnsConfig_mac() in getdnsconfig_mac.cpp.o
  "_SCDynamicStoreCreate", referenced from:
      wsnet::getDnsConfig_mac() in getdnsconfig_mac.cpp.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant