mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
preload: move to libdir from libexecdir
This isn't an executable, it just belongs in libdir.
This commit is contained in:
@ -33,6 +33,7 @@ config_h.set_quoted('PACKAGE_VERSION', meson.project_version())
|
|||||||
config_h.set_quoted('PACKAGE_STRING', 'sysprof-' + meson.project_version())
|
config_h.set_quoted('PACKAGE_STRING', 'sysprof-' + meson.project_version())
|
||||||
config_h.set_quoted('PACKAGE_BUGREPORT', 'https://bugzilla.gnome.org/enter_bug.cgi?product=sysprof')
|
config_h.set_quoted('PACKAGE_BUGREPORT', 'https://bugzilla.gnome.org/enter_bug.cgi?product=sysprof')
|
||||||
config_h.set_quoted('PACKAGE_LIBEXECDIR', join_paths(get_option('prefix'), get_option('libexecdir')))
|
config_h.set_quoted('PACKAGE_LIBEXECDIR', join_paths(get_option('prefix'), get_option('libexecdir')))
|
||||||
|
config_h.set_quoted('PACKAGE_LIBDIR', join_paths(get_option('prefix'), get_option('libdir')))
|
||||||
config_h.set('PACKAGE_TARNAME', 'PACKAGE_STRING')
|
config_h.set('PACKAGE_TARNAME', 'PACKAGE_STRING')
|
||||||
config_h.set('PACKAGE', 'PACKAGE_NAME')
|
config_h.set('PACKAGE', 'PACKAGE_NAME')
|
||||||
config_h.set('VERSION', 'PACKAGE_VERSION')
|
config_h.set('VERSION', 'PACKAGE_VERSION')
|
||||||
|
|||||||
@ -15,5 +15,5 @@ libsysprof_memory_preload = shared_library('sysprof-memory-@0@'.format(libsyspro
|
|||||||
libsysprof_memory_preload_sources,
|
libsysprof_memory_preload_sources,
|
||||||
dependencies: libsysprof_memory_preload_deps,
|
dependencies: libsysprof_memory_preload_deps,
|
||||||
install: true,
|
install: true,
|
||||||
install_dir: get_option('libexecdir'),
|
install_dir: get_option('libdir'),
|
||||||
)
|
)
|
||||||
|
|||||||
@ -40,7 +40,7 @@ sysprof_memprof_source_modify_spawn (SysprofSource *source,
|
|||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
{
|
{
|
||||||
static const gchar so_path[] = PACKAGE_LIBEXECDIR"/libsysprof-memory-"API_VERSION_S".so";
|
static const gchar so_path[] = PACKAGE_LIBDIR"/libsysprof-memory-"API_VERSION_S".so";
|
||||||
g_autofree gchar *freeme = NULL;
|
g_autofree gchar *freeme = NULL;
|
||||||
const gchar *ld_preload;
|
const gchar *ld_preload;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user