Skip to content

cmake: tests: only link against dl library if it exists

Caspar Schutijser requested to merge cschutijser/trojita:cmake-dl into master

Necessary on OpenBSD because dlsym is not part of a separate dl library. Instead, it is part of libc.

Change-Id: I3555b352ffccfb9a01b48ce869d7848a43670c74

--

The crypto tests still don't pass on OpenBSD (because the script that generates the GPG keys doesn't finish successfully, I need to look into that more closely). But at least this is a step in the right direction.

Merge request reports