[a2jmidid] dso linking fix

Orcan Ogetbil oget at fedoraproject.org
Tue Jul 10 02:48:46 UTC 2012


commit 31f3a75e457d17f6c3710b1a4176359ec5d55ead
Author: Orcan Ogetbil <oget.fedora at gmail.com>
Date:   Mon Jul 9 22:48:34 2012 -0400

    dso linking fix

 a2jmidid-linking.patch |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)
---
diff --git a/a2jmidid-linking.patch b/a2jmidid-linking.patch
new file mode 100644
index 0000000..15a3758
--- /dev/null
+++ b/a2jmidid-linking.patch
@@ -0,0 +1,20 @@
+diff -rupN a2jmidid-8.old/wscript a2jmidid-8/wscript
+--- a2jmidid-8.old/wscript	2012-07-04 21:14:23.000000000 -0400
++++ a2jmidid-8/wscript	2012-07-09 22:38:36.474015629 -0400
+@@ -67,6 +67,7 @@ def configure(conf):
+         conf.env['DBUS_ENABLED'] = False
+ 
+     conf.env['LIB_DL'] = ['dl']
++    conf.env['LIB_PTHREAD'] = ['pthread']
+ 
+     #conf.check_header('expat.h', mandatory=True)
+     #conf.env['LIB_EXPAT'] = ['expat']
+@@ -152,7 +153,7 @@ def build(bld):
+ 
+     prog.includes = '.' # make waf dependency tracking work
+     prog.target = 'a2jmidid'
+-    prog.uselib = 'ALSA JACK DL'
++    prog.uselib = 'ALSA JACK DL PTHREAD'
+     if bld.env()['DBUS_ENABLED']:
+         prog.uselib += " DBUS-1"
+     prog = bld.create_obj('cc', 'program')


More information about the scm-commits mailing list