summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Sowden <jeremy@azazel.net>2023-07-19 23:39:59 +0100
committerDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2023-08-02 20:06:17 +0300
commit97b9dd6aa988a4f4da3a204ba90dc21680ab3e17 (patch)
treef53e3f253fca9b92f64b948691941f807ba10a10
parentfcc173de314badc6e165c7929e81651572a904fe (diff)
Install Guile extension into Guile's extension directory
-rw-r--r--guile/meson.build4
-rw-r--r--meson.build5
2 files changed, 7 insertions, 2 deletions
diff --git a/guile/meson.build b/guile/meson.build
index ca051d1..933553c 100644
--- a/guile/meson.build
+++ b/guile/meson.build
@@ -73,7 +73,9 @@ lib_guile_mu = shared_module(
[ 'mu-guile.cc',
'mu-guile-message.cc' ],
dependencies: [guile_dep, glib_dep, lib_mu_dep, config_h_dep, thread_dep ],
- install: true)
+ install: true,
+ install_dir: guile_dep.get_variable(pkgconfig: 'extensiondir')
+)
if makeinfo.found()
custom_target('mu_guile_info',
diff --git a/meson.build b/meson.build
index f089572..4de6767 100644
--- a/meson.build
+++ b/meson.build
@@ -55,7 +55,8 @@ extra_flags = [
'-Wstack-protector',
'-Wno-switch-enum',
'-Wno-keyword-macro',
- '-Wno-#warnings']
+ '-Wno-#warnings',
+ '-Wno-volatile']
if get_option('buildtype') == 'debug'
extra_flags += [
@@ -110,6 +111,8 @@ endforeach
if cc.has_function('wordexp')
config_h_data.set('HAVE_WORDEXP_H',1)
+else
+ message('no wordexp, expansion in command line options')
endif
testmaildir=join_paths(meson.current_source_dir(), 'lib', 'tests')