Not building with meson on MacOS
This is the build failure I am getting:
[1/2] Linking target test/scaling-helpers-test
FAILED: test/scaling-helpers-test
cc -o test/scaling-helpers-test 'test/9f86d08@@scaling-helpers-test@exe/scaling-helpers-test.c.o' -L/Users/qignacio/gnome/inst/lib -Wl,-dead_strip_dylibs -Wl,-undefined,error -Wl,-headerpad_max_install_names -fno-omit-frame-pointer -g -O0 -fno-inline -fdiagnostics-color=auto test/libtestutils.a pixman/libpixman-1.0.dylib -lm /Users/qignacio/gnome/inst/lib/libpng16.dylib /Users/qignacio/gnome/inst/lib/libz.dylib -Wl,-headerpad_max_install_names -Wl,-rpath,@loader_path/ -Wl,-rpath,@loader_path/../pixman
Undefined symbols for architecture x86_64:
"_prng_state", referenced from:
_prng_srand in scaling-helpers-test.c.o
_prng_rand in scaling-helpers-test.c.o
"_prng_state_data", referenced from:
_prng_srand in scaling-helpers-test.c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[2/2] Linking target test/region-test
FAILED: test/region-test
cc -o test/region-test 'test/9f86d08@@region-test@exe/region-test.c.o' -L/Users/qignacio/gnome/inst/lib -Wl,-dead_strip_dylibs -Wl,-undefined,error -Wl,-headerpad_max_install_names -fno-omit-frame-pointer -g -O0 -fno-inline -fdiagnostics-color=auto test/libtestutils.a pixman/libpixman-1.0.dylib -lm /Users/qignacio/gnome/inst/lib/libpng16.dylib /Users/qignacio/gnome/inst/lib/libz.dylib -Wl,-headerpad_max_install_names -Wl,-rpath,@loader_path/ -Wl,-rpath,@loader_path/../pixman
Undefined symbols for architecture x86_64:
"_prng_state", referenced from:
_prng_srand in region-test.c.o
_prng_rand in region-test.c.o
"_prng_state_data", referenced from:
_prng_srand in region-test.c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.