diff options
author | hasufell <hasufell@posteo.de> | 2013-08-23 07:53:38 +0200 |
---|---|---|
committer | hasufell <hasufell@posteo.de> | 2013-08-23 07:53:38 +0200 |
commit | e84c7d825739db4e24c1bef107c1c234f6e37efd (patch) | |
tree | cd7b05439e569d2825f4a54461e646a778ca89a3 /hardinfo/binreloc.c | |
parent | 357166434a740c32f4e9011d751a32d74f649800 (diff) |
imrove LIBDIR detection in binreloc
use the LIBDIR we get from GNUInstallDirs module instead of this ifdef,
it should be more robust and is distro dependant
Diffstat (limited to 'hardinfo/binreloc.c')
-rw-r--r-- | hardinfo/binreloc.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/hardinfo/binreloc.c b/hardinfo/binreloc.c index 1d1acfe6..f47a3fae 100644 --- a/hardinfo/binreloc.c +++ b/hardinfo/binreloc.c @@ -593,11 +593,7 @@ gchar *gbr_find_lib_dir(const gchar * default_lib_dir) return NULL; } -#ifdef ARCH_x86_64 - dir = g_build_filename(prefix, "lib64", NULL); -#else - dir = g_build_filename(prefix, "lib", NULL); -#endif + dir = g_build_filename(prefix, LIBDIR, NULL); g_free(prefix); return dir; |