Look for renderers on right location

This commit is contained in:
Tomáš Čech 2015-09-21 22:18:14 +02:00
parent ecd7d4056f
commit 556961648b
2 changed files with 2 additions and 1 deletions

View File

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

View File

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