]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
build: Set runtimelibdir to libdir
authorGuillem Jover <guillem@hadrons.org>
Fri, 1 Jun 2012 06:17:42 +0000 (08:17 +0200)
committerGuillem Jover <guillem@hadrons.org>
Fri, 1 Jun 2012 06:27:33 +0000 (08:27 +0200)
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>
src/Makefile.am

index 22bfd1fde65cf6e3e2697df1cba412e25c0dc7ad..24f1248c2cacb6ab41fdb3aba4c19603034326da 100644 (file)
@@ -73,6 +73,8 @@ libbsd_la_SOURCES = \
        vis.c \
        $(nil)
 
+runtimelibdir = $(libdir)
+
 install-exec-hook:
        if [ "$(libdir)" != "$(runtimelibdir)" ]; then \
                $(MKDIR_P) $(DESTDIR)$(runtimelibdir); \