GNOME Bugzilla – Bug 795033
Fails to build on FreeBSD due to incorrect library name
Last modified: 2018-04-12 12:47:10 UTC
Created attachment 370590 [details] [review] Fix for the issue Fails to build with following error: Determining dependency 'libgcrypt' with pkg-config executable '/usr/local/bin/pkgconf' Dependency libgcrypt found: NO Message: gcrypt not found via pkg-config, using meson.find_library()... Running compile: Working directory: /tmp/tmpvy8n592j Command line: cc -I/usr/local/include -L/usr/local/lib /tmp/tmpvy8n592j/testfile.c -fstack-protector -fno-strict-aliasing -fstack-protector -O0 -Wl,--start-group -llibgcrypt -Wl,--end-group -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpvy8n592j/output.exe Code: int main(int argc, char **argv) { return 0; } Compiler stdout: Compiler stderr: /usr/bin/ld: cannot find -llibgcrypt cc: error: linker command failed with exit code 1 (use -v to see invocation) Attached diff fixes it. Thanks!
Thanks, pushed to master: https://git.gnome.org/browse/frogr/commit/?id=830fe795318b3df683a4391434bd050401562626