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.
This commit is contained in:
Lubomir Rintel 2016-03-14 13:49:58 +01:00
parent 226ef19109
commit fa16fb1808

View file

@ -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)