Skip to content

Commit

Permalink
Install Guile extension into Guile's extension directory
Browse files Browse the repository at this point in the history
  • Loading branch information
a3a3el authored and djcb committed Aug 2, 2023
1 parent fcc173d commit 97b9dd6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion guile/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
5 changes: 4 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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 += [
Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit 97b9dd6

Please sign in to comment.