From: Guillem Jover Date: Fri, 1 Jun 2012 06:17:42 +0000 (+0200) Subject: build: Set runtimelibdir to libdir X-Git-Tag: 0.4.1~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fdcae5770799b232d50bf311d69c375f730a1ed3;p=thirdparty%2Flibbsd.git 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 --- diff --git a/src/Makefile.am b/src/Makefile.am index 22bfd1f..24f1248 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -73,6 +73,8 @@ libbsd_la_SOURCES = \ vis.c \ $(nil) +runtimelibdir = $(libdir) + install-exec-hook: if [ "$(libdir)" != "$(runtimelibdir)" ]; then \ $(MKDIR_P) $(DESTDIR)$(runtimelibdir); \