summaryrefslogtreecommitdiff
path: root/comms/multisync-gui/patches/patch-aa
blob: 6370fab11e0ca3e4bb008542b75c261d6fc08b6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$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: