mirror of
https://github.com/Zygo/bees.git
synced 2025-06-15 17:26:15 +02:00
build: make libcrucible a static library
libcrucible at one time in the distant past had to be a shared library to force global C++ object initialization; however, this is no longer required. Make libcrucible static to solve various rpath and soname versioning issues, especially when distros try (unwisely) to package the library separately. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
7
Makefile
7
Makefile
@ -49,16 +49,13 @@ scripts/%: scripts/%.in
|
||||
|
||||
scripts: scripts/beesd scripts/beesd@.service
|
||||
|
||||
install_libs: lib
|
||||
install -Dm644 lib/libcrucible.so $(DESTDIR)$(LIB_PREFIX)/libcrucible.so
|
||||
|
||||
install_tools: ## Install support tools + libs
|
||||
install_tools: install_libs src
|
||||
install_tools: src
|
||||
install -Dm755 bin/fiemap $(DESTDIR)$(PREFIX)/bin/fiemap
|
||||
install -Dm755 bin/fiewalk $(DESTDIR)$(PREFIX)/sbin/fiewalk
|
||||
|
||||
install_bees: ## Install bees + libs
|
||||
install_bees: install_libs src $(RUN_INSTALL_TESTS)
|
||||
install_bees: src $(RUN_INSTALL_TESTS)
|
||||
install -Dm755 bin/bees $(DESTDIR)$(LIBEXEC_PREFIX)/bees
|
||||
|
||||
install_scripts: ## Install scipts
|
||||
|
Reference in New Issue
Block a user