Skip to content

bootstrap: add cmake_ld_flags to include check

This is a follow up of !5711 (merged).

I have to manually set --dyld-prefix in LDFLAGS to be able to execute the compiled binary.

clang++ does not have setenv
clang++ does not have unsetenv
clang++ does not have environ in stdlib.h
clang++ does not have stl wstring
clang++ does not have <ext/stdio_filebuf.h>

Without this patch, I get the above message because none of the compiled binaries can be executed.

Merge request reports