From 556961648b1799572b18a83eb4f42f67ff41bdb6 Mon Sep 17 00:00:00 2001 From: Tomáš Čech Date: Mon, 21 Sep 2015 22:18:14 +0200 Subject: Look for renderers on right location --- lib/library.c | 2 +- lib/version.h.in | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/library.c b/lib/library.c index 02c2af8..82c027b 100644 --- a/lib/library.c +++ b/lib/library.c @@ -122,7 +122,7 @@ bm_init(void) if (renderers.count > 0) return true; - static const char *rpath = INSTALL_PREFIX "/lib/bemenu"; + static const char *rpath = INSTALL_LIBDIR "/bemenu"; const char *path = secure_getenv("BEMENU_RENDERER"); if (path) diff --git a/lib/version.h.in b/lib/version.h.in index a6b287c..30d3ee2 100644 --- a/lib/version.h.in +++ b/lib/version.h.in @@ -1,4 +1,5 @@ #define INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@" +#define INSTALL_LIBDIR "@CMAKE_INSTALL_LIBDIR@" #define BM_VERSION "@BEMENU_VERSION@" #define BM_PLUGIN_VERSION "@BEMENU_VERSION@-@GIT_SHA1@" -- cgit v1.2.3-70-g09d2