mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-05-29 15:34:10 +02:00
build: Set runtimelibdir to libdir
This makes sure the install-exec-hook under src works as expected even when no runtimelibdir was specified, otherwise the symlinks end up pointing to non-existing targets. Reported-by: Ryan Mullen <rmmullen@gmail.com>
This commit is contained in:
parent
e9e4a60d7e
commit
fdcae57707
@ -73,6 +73,8 @@ libbsd_la_SOURCES = \
|
|||||||
vis.c \
|
vis.c \
|
||||||
$(nil)
|
$(nil)
|
||||||
|
|
||||||
|
runtimelibdir = $(libdir)
|
||||||
|
|
||||||
install-exec-hook:
|
install-exec-hook:
|
||||||
if [ "$(libdir)" != "$(runtimelibdir)" ]; then \
|
if [ "$(libdir)" != "$(runtimelibdir)" ]; then \
|
||||||
$(MKDIR_P) $(DESTDIR)$(runtimelibdir); \
|
$(MKDIR_P) $(DESTDIR)$(runtimelibdir); \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user