depot/third_party/nixpkgs/pkgs/applications/misc/rofi-top/0001-Patch-plugindir-to-output.patch
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

13 lines
516 B
Diff

diff --git a/configure.ac b/configure.ac
index 4d2df69..3260910 100644
--- a/configure.ac
+++ b/configure.ac
@@ -54,7 +54,7 @@ dnl ---------------------------------------------------------------------
PKG_CHECK_MODULES([glib], [glib-2.0 >= 2.40 gio-unix-2.0 gmodule-2.0 libgtop-2.0])
PKG_CHECK_MODULES([rofi], [rofi])
-[rofi_PLUGIN_INSTALL_DIR]="`$PKG_CONFIG --variable=pluginsdir rofi`"
+[rofi_PLUGIN_INSTALL_DIR]="`echo $out/lib/rofi`"
AC_SUBST([rofi_PLUGIN_INSTALL_DIR])
LT_INIT([disable-static])