mirror of
https://github.com/MariaDB/server.git
synced 2026-05-01 20:55:32 +02:00
On FreeBSD liblz4 is installed in /usr/local/lib.
Groonga uses pkg_check_modules to check for liblz4 (that is, pkg-config),
and then it used to set for libgroonga.a
link_directories({$LIBLZ4_LIBRARY_DIRS})
target_link_libraries(... ${LIBLZ4_LIBRARIES})
Now groonga is a static library, linked into ha_mroonga.so. CMake won't
link dynamic liblz4.so into libgroonga.a, instead it'll pass it as a
dependency and will link it into ha_mroonga.so. Fine so far. But it will
not pass link_directories from the static library as a dependency,
so ha_mroonga.so won't find liblz4.so
As suggested on cmake mailing list (e.g.
here: http://public.kitware.com/pipermail/cmake/2011-November/047468.html)
we switch to use the full path to liblz4.so, instead of the -l/-L pair.
|
||
|---|---|---|
| .. | ||
| build | ||
| data | ||
| lib | ||
| mysql-test | ||
| packages | ||
| test | ||
| tools | ||
| udf | ||
| vendor/groonga | ||
| appveyor.yml | ||
| AUTHORS | ||
| autogen.sh | ||
| ChangeLog | ||
| CMakeLists.txt | ||
| config.sh.in | ||
| configure.ac | ||
| COPYING | ||
| gpg_uid | ||
| ha_mroonga.cpp | ||
| ha_mroonga.def | ||
| ha_mroonga.hpp | ||
| Makefile.am | ||
| mrn_constants.hpp | ||
| mrn_err.h | ||
| mrn_macro.hpp | ||
| mrn_mysql.h | ||
| mrn_mysql_compat.h | ||
| mrn_table.cpp | ||
| mrn_table.hpp | ||
| mrn_variables.hpp | ||
| mrn_version.h.in | ||
| NEWS | ||
| plugin_version | ||
| README | ||
| required_groonga_normalizer_mysql_version | ||
| required_groonga_version | ||
| sources.am | ||
| version | ||
| version_in_hex | ||
| version_major | ||
| version_micro | ||
| version_minor | ||
See doc/locale/en/html/index.html or doc/locale/ja/html/index.html