910f74b309
The Scons script had to be modified to accept LDFLAGS environment variable. This was piggy-backed to existing patch.
14 lines
591 B
Text
14 lines
591 B
Text
$NetBSD: patch-aa,v 1.2 2012/05/16 19:57:56 marino Exp $
|
|
|
|
--- src/wscript.orig 2006-11-06 20:36:21.000000000 +0100
|
|
+++ src/wscript
|
|
@@ -16,6 +16,9 @@ def build(bld):
|
|
obj_gui.find_sources_in_dirs('. plugins')
|
|
obj_gui.defines='HAVE_CONFIG_H=1'
|
|
obj_gui.uselib = 'GLIB GTK GLADE OPENSYNC OPENSYNCENGINE'
|
|
+ obj_gui.env['LINKFLAGS'] += [os.getenv('LDFLAGS')]
|
|
+ obj_gui.env['LINKFLAGS'] += ['-Wl,-R' + os.getenv('LOCALBASE') + '/lib']
|
|
+ obj_gui.env['LINKFLAGS'] += ['-Wl,-R' + os.getenv('X11BASE') + '/lib']
|
|
|
|
Common.install_files('MULTISYNC_DATA', '', 'multisync-gui.glade')
|
|
else:
|