[gtk/ebassi/issue-3495: 1/2] Pass the bindir to the post-install script




commit fa35e3b874bd491699900127094849cae3c53577
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sun Dec 20 16:33:25 2020 +0000

    Pass the bindir to the post-install script

 meson.build | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 476072d0da..bb58717f6a 100644
--- a/meson.build
+++ b/meson.build
@@ -127,6 +127,7 @@ gtk_libdir = join_paths(gtk_prefix, get_option('libdir'))
 gtk_datadir = join_paths(gtk_prefix, get_option('datadir'))
 gtk_localedir = join_paths(gtk_prefix, get_option('localedir'))
 gtk_sysconfdir = join_paths(gtk_prefix, get_option('sysconfdir'))
+gtk_bindir = join_paths(gtk_prefix, get_option('bindir'))
 gtk_applicationsdir = join_paths(gtk_datadir, 'applications')
 gtk_schemasdir = join_paths(gtk_datadir, 'glib-2.0/schemas')
 gtk_appdatadir = join_paths(gtk_datadir, 'metainfo')
@@ -788,7 +789,8 @@ if not meson.is_cross_build()
                            gtk_api_version,
                            gtk_binary_version,
                            gtk_libdir,
-                           gtk_datadir)
+                           gtk_datadir,
+                           gtk_bindir)
 else
   message('Not executing post-install steps automatically when cross compiling')
 endif


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