1
0
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:
Zygo Blaxell
2018-12-09 17:23:54 -05:00
parent f17cf084e6
commit 7933ccb660
6 changed files with 12 additions and 16 deletions

View File

@ -16,7 +16,7 @@ FORCE:
include ../makeflags
LIBS = -lcrucible -lpthread
BEES_LDFLAGS = -L../lib -Wl,-rpath=$(abspath ../lib) $(LDFLAGS)
BEES_LDFLAGS = -L../lib $(LDFLAGS)
.depends:
mkdir -p $@