summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2016-03-14 13:49:58 +0100
committerLubomir Rintel <lkundrak@v3.sk>2016-03-14 16:32:14 +0100
commitfa16fb1808fe4f1a529b1edac81e582f630f1965 (patch)
treec449f63c3ea866573ba986c525611a69260d1bf1
parent226ef191092f4ed9b7d4d7bcd5b81243580910cc (diff)
downloadNetworkManager-fa16fb1808fe4f1a529b1edac81e582f630f1965.tar.gz
build: install udev files under prefix
It should really be in /usr/lib, not /lib. Not a real issue, since the two are usually links, but the latter is supposably for compatibility only. This also installs into correct place when configured with a different --prefix.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 780f007af0..c0c8716bed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -323,7 +323,7 @@ if (test "$with_udev_dir" != 'no'); then
AC_MSG_ERROR([--with-udev-dir must be an absolute path or 'yes' or 'no'. Instead it is '$with_udev_dir'])
fi
if (test "$with_udev_dir" = 'yes'); then
- with_udev_dir="/lib/udev"
+ with_udev_dir="\$(prefix)/lib/udev"
fi
UDEV_DIR="$with_udev_dir"
AC_SUBST(UDEV_DIR)