-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathladish-1-configure-libdir.patch
23 lines (20 loc) · 1.09 KB
/
ladish-1-configure-libdir.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
diff --git a/wscript b/wscript
index 333522e9..a7594716 100644
--- a/wscript
+++ b/wscript
@@ -54,6 +54,7 @@ def options(opt):
opt.add_option('--distname', type='string', default=None, help="Name for the distribution tarball")
opt.add_option('--distsuffix', type='string', default="", help="String to append to the distribution tarball name")
opt.add_option('--tagdist', action='store_true', default=False, help='Create of git tag for distname')
+ opt.add_option('--libdir', type='string', default=None, help='Define lib dir')
if parallel_debug:
opt.load('parallel_debug')
@@ -132,7 +133,10 @@ def configure(conf):
else:
conf.env['DBUS_SERVICES_DIR'] = os.path.join(os.path.normpath(conf.env['PREFIX']), 'share', 'dbus-1', 'services')
- conf.env['LIBDIR'] = os.path.join(os.path.normpath(conf.env['PREFIX']), 'lib')
+ if Options.options.libdir:
+ conf.env['LIBDIR'] = Options.options.libdir
+ else:
+ conf.env['LIBDIR'] = os.path.join(os.path.normpath(conf.env['PREFIX']), 'lib')
conf.env['BUILD_DOXYGEN_DOCS'] = Options.options.doxygen