Issue Building on MacOS-X w/ DEBUG=1
|Reported by:||apl-haiku||Owned by:||bonefish|
|Keywords:||macos-x printchar gnuregex||Cc:|
Building with DEBUG=1 on MacOS-X yields an error;
... Undefined symbols for architecture x86_64: "_printchar", referenced from: _print_fastmap in regex.o _print_partial_compiled_pattern in regex.o _print_double_string in regex.o _regex_compile in regex.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ...
This is because the host build-targets are requiring "gnuregex" and this library has debug code that looks for a "printchar" function which is not defined.
This patch adds a definition of this function for the purposes of sating the build process.
Change History (10)
by , 4 years ago