head	1.3;
access;
symbols
	RELEASE_8_3_0:1.3
	RELEASE_9_0_0:1.3
	RELEASE_7_4_0:1.3
	RELEASE_8_2_0:1.3
	RELEASE_6_EOL:1.3
	RELEASE_8_1_0:1.3
	RELEASE_7_3_0:1.3
	RELEASE_8_0_0:1.3
	RELEASE_7_2_0:1.2
	RELEASE_7_1_0:1.2
	RELEASE_6_4_0:1.2
	old_RELEASE_5_EOL:1.1
	old_RELEASE_7_0_0:1.1
	old_RELEASE_6_3_0:1.1
	old_PRE_XORG_7:1.1
	old_RELEASE_4_EOL:1.1;
locks; strict;
comment	@# @;


1.3
date	2009.06.07.17.54.09;	author amdmi3;	state Exp;
branches;
next	1.2;

1.2
date	2008.08.21.22.31.18;	author amdmi3;	state Exp;
branches;
next	1.1;

1.1
date	2006.12.23.22.09.32;	author aaron;	state Exp;
branches;
next	;


desc
@@


1.3
log
@- Fix build with python2.6

Reported by:	miwi
@
text
@--- SConstruct.orig	2006-04-10 13:45:44.000000000 +0400
+++ SConstruct	2008-08-22 01:43:56.000000000 +0400
@@@@ -17,6 +17,7 @@@@
 opts.Add('CCFLAGS', 'Flags for the compiler.', ['-O2', '-Wall'])
 opts.Add('LINK', 'The linker.')
 opts.Add('LINKFLAGS', 'Linker flags.', [])
+opts.Add('SONAME', 'Shared library name.')
 opts.Add('no_cygwin', 'Use -mno-cygwin to build using the mingw compiler on cygwin', 0)
 opts.Add('LIBS', 'libraries', [])
 opts.Add('LIBPATH', 'library path', [])
@@@@ -128,7 +129,9 @@@@
 ########### end of helper builders
 
 env['CPPPATH'] = '#/include'
-env['LIBPATH'] =  ['#/lib'] + env['LIBPATH']
+env['LIBPATH'] =  ['#/lib'] + env['LIBPATH'].split(" ")
+
+env.Append(SHLINKFLAGS=' -Wl,-soname='+env['SONAME'])
 
 if env['no_cygwin']:
 
@


1.2
log
@- Fix shared lib support
@
text
@d18 1
a18 1
+env['SHLINKFLAGS'] += ' -Wl,-soname='+env['SONAME']
@


1.1
log
@Updated to 1.0.92

PR:		100042
Submitted by:	Alexander Botero-Lowry <alex@@foxybanana.com>
@
text
@d1 11
a11 3
--- SConstruct.orig	Sat Dec 23 14:21:33 2006
+++ SConstruct	Sat Dec 23 14:21:46 2006
@@@@ -128,7 +128,7 @@@@
d17 2
@

