Hi all,

I know I always come up with rather stupid patches. :)

This time the issue is: Fedora's ld does not allow indirect linking to
libraries anymore. Hence hydrogen needs to link to libz directly.
Otherwise build fails and Orcan will have to make another one liner
patch. This is against 0.9.4 but it will probably apply to trunk. I
guess that the cmake branch will also need a similar fix.

Happy V!
Orcan
diff -rupN hydrogen-0.9.4.old/Sconstruct hydrogen-0.9.4/Sconstruct
--- hydrogen-0.9.4.old/Sconstruct	2009-09-07 17:31:13.000000000 -0400
+++ hydrogen-0.9.4/Sconstruct	2010-02-13 15:56:14.000000000 -0500
@@ -269,7 +269,7 @@ def get_hydrogen_gui( lib_hydrogen , opt
 	if str(env['lash']) == "1":
 	        env.ParseConfig('pkg-config --cflags --libs lash-1.0')
 
-	if sys.platform == "darwin":
+	if sys.platform == "darwin" or sys.platform == "linux2":
 		env.Append( LIBS = ["z"] )
 
 	if sys.platform == "darwin" and str(env['coreaudio']) == "1":
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to