[libgda] Meson: fix installation for LDAP and PostgreSQL



commit 2be9c9bfe06cdd4f9b277e423b1ae62bf14c3ae9
Author: Daniel Espinosa <esodan gmail com>
Date:   Mon Jul 30 16:34:36 2018 -0500

    Meson: fix installation for LDAP and PostgreSQL

 providers/ldap/meson.build     | 3 ++-
 providers/postgres/meson.build | 3 ++-
 tools/meson.build              | 2 +-
 3 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/providers/ldap/meson.build b/providers/ldap/meson.build
index 72fb58978..d5fce6844 100644
--- a/providers/ldap/meson.build
+++ b/providers/ldap/meson.build
@@ -102,5 +102,6 @@ libgda_ldap_provider = library ('gda-ldap-'+project_api_version,
                '-export-dynamic',
                ],
        link_with: libgda,
-       install: false,
+       install: true,
+       install_dir: join_paths(get_option('libdir'), project_package, 'providers')
        )
\ No newline at end of file
diff --git a/providers/postgres/meson.build b/providers/postgres/meson.build
index cec5bd131..6ecb22306 100644
--- a/providers/postgres/meson.build
+++ b/providers/postgres/meson.build
@@ -115,5 +115,6 @@ libgda_postgres_provider = library ('gda-postgres-'+project_api_version,
                '-export-dynamic',
                ],
        link_with: libgda,
-       install: false,
+       install: true,
+       install_dir: join_paths(get_option('libdir'), project_package, 'providers')
        )
diff --git a/tools/meson.build b/tools/meson.build
index a85c2367c..c89e45884 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -167,7 +167,7 @@ tsplitter = executable('test-splitter',
        c_args: [
                '-include',
                meson.build_root() + '/config.h',
-               '-DROOT_DIR="'+meson.build_root()+'"'
+               '-DROOT_DIR="'+meson.source_root()+'"'
                ],
        link_with: libgda,
        dependencies: tsplitter_deps,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]