Bug #1071
Patch: Mac OS X cmake build errors.
| Status: | Fixed | Start: | ||
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | build_cmake | |||
| Target version: | 1.5.0 | |||
| Pending: | No |
Resolution: | fixed |
|
Description
This patch fixes two build errors on Mac OS X when using cmake. One occurs because the gthread libraries aren't passed to ld, the other occurs when not using BUILD_STATIC:
$ make [ 0%] Built target lemon [ 56%] Built target lighttpd Linking C shared library mod_access.dylib ld: Undefined symbols: _array_free _array_init _buffer_init_string _buffer_is_equal_string _config_check_cond _config_insert_values_global /usr/bin/libtool: internal link edit command failed make[2]: *** [build/mod_access.dylib] Error 1 make[1]: *** [build/CMakeFiles/mod_access.dir/all] Error 2 make: *** [all] Error 2
Associated revisions
fixed shared build on macosx (fixes #1071)