chiark / gitweb /
build-sys: use --libexecdir=/usr/lib instead of /usr/lib/udev
[elogind.git] / libudev / libudev.c
index ca2ac5d03069fe0c4322faa3f7ba5ea6ea3a220f..f0f59e3a4dad229d9bde0719d392a6d0ca6627bc 100644 (file)
@@ -256,7 +256,7 @@ UDEV_EXPORT struct udev *udev_new(void)
 
        if (udev->rules_path[0] == NULL) {
                /* /usr/lib/udev -- system rules */
-               udev->rules_path[0] = strdup(LIBEXECDIR "/rules.d");
+               udev->rules_path[0] = strdup(PKGLIBEXECDIR "/rules.d");
                if (!udev->rules_path[0])
                        goto err;