mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Handle cases where LIBDIR is not "lib"
For example, Fedora installs to lib64, Debian to lib/<arch-tuple>
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
#ifndef __BINRELOC_C__
|
||||
#define __BINRELOC_C__
|
||||
#include <config.h>
|
||||
#include "gncla-dir.h"
|
||||
|
||||
#include <platform.h>
|
||||
#if PLATFORM(WINDOWS)
|
||||
@@ -548,7 +549,7 @@ gnc_gbr_find_lib_dir (const gchar *default_lib_dir)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
dir = g_build_filename (prefix, "lib", NULL);
|
||||
dir = g_build_filename (prefix, LIBDIR, NULL);
|
||||
g_free (prefix);
|
||||
return dir;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user