Undefined symbols when linking statically on macOS 10.11
version: glib-2.63.3
os: macOS 10.11
I success build static library using meson on macOS 10.11.
It is an important library for libvips
I try to compile libvips with glib-2.63.3(static), but always get an issue, following below, please
Could you give some advice? thanks
issue
Undefined symbols for architecture x86_64:
"_NSSearchPathForDirectoriesInDomains", referenced from:
_load_user_special_dirs_macos in libglib-2.0.a(gosxutils.m.o)
"_objc_msgSend", referenced from:
_load_user_special_dirs_macos in libglib-2.0.a(gosxutils.m.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [vips] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Edited by Philip Withnall