| 1 |
From: Osamu Aoki <[email protected]> |
| 2 |
Date: Tue, 20 Nov 2018 14:04:42 -0500 |
| 3 |
Subject: libexecdir |
| 4 |
|
| 5 |
Last-Update: 2022-06-05 |
| 6 |
Bug-Debian: https://bugs.debian.org/955241 |
| 7 |
--- |
| 8 |
SConstruct | 4 ++-- |
| 9 |
1 file changed, 2 insertions(+), 2 deletions(-) |
| 10 |
|
| 11 |
diff --git a/SConstruct b/SConstruct |
| 12 |
index 8d8d5c4..39c38d1 100644 |
| 13 |
--- a/SConstruct |
| 14 |
+++ b/SConstruct |
| 15 |
@@ -48,7 +48,7 @@ opts.Update(env) |
| 16 |
if GetOption('prefix') is not None: |
| 17 |
env['PREFIX'] = GetOption('prefix') |
| 18 |
env['LIBDIR'] = env['PREFIX'] + '/lib' |
| 19 |
|
| 20 |
+ env['LIBEXECDIR'] = env['PREFIX'] + '/libexec/' |
| 21 |
env['DATADIR'] = env['PREFIX'] + '/share/' |
| 22 |
|
| 23 |
if GetOption('libdir') is not None: |
| 24 |
@@ -71,7 +71,7 @@ PassVariables(envvar, env) |
| 25 |
|
| 26 |
data_dir = env['DATADIR'] + '/ibus-sunpinyin' |
| 27 |
icons_dir = env['DATADIR'] + '/ibus-sunpinyin/icons' |
| 28 |
|
| 29 |
+bin_dir = env['LIBEXECDIR'] + '/' |
| 30 |
gettext_package = 'ibus-sunpinyin' |
| 31 |
|
| 32 |
extra_cflags = ' -DIBUS_SUNPINYIN_LOCALEDIR=\'"%s"\'' % (env['DATADIR'] + '/locale') |