Commit fdcae577 authored by Guillem Jover's avatar Guillem Jover

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: default avatarRyan Mullen <rmmullen@gmail.com>
parent e9e4a60d
......@@ -73,6 +73,8 @@ libbsd_la_SOURCES = \
vis.c \
$(nil)
runtimelibdir = $(libdir)
install-exec-hook:
if [ "$(libdir)" != "$(runtimelibdir)" ]; then \
$(MKDIR_P) $(DESTDIR)$(runtimelibdir); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment