[Kde-cygwin-cvs] CVS: tools/profiler SConstruct,1.2,1.3
Status: Inactive
Brought to you by:
habacker
From: Ralf H. <hab...@us...> - 2005-10-14 14:06:49
|
Update of /cvsroot/kde-cygwin/tools/profiler In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10359 Modified Files: SConstruct Log Message: bug fix for cygwin Index: SConstruct =================================================================== RCS file: /cvsroot/kde-cygwin/tools/profiler/SConstruct,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- SConstruct 14 Oct 2005 13:55:45 -0000 1.2 +++ SConstruct 14 Oct 2005 14:06:37 -0000 1.3 @@ -6,12 +6,10 @@ import sys version = '1.3.5' +env = Environment() if sys.platform == 'cygwin': - env = Environment(SHLIBPREFIX='cyg',SHLIBSUFFIX='-'+version[:1]+'.dll') -else: - env = Environment() + env = Environment(SHLIBPREFIX='cyg',SHLIBSUFFIX='-'+version[:1]+env['SHLIBSUFFIX']) - -env.SharedLibrary('profiler','profiler.cpp',CXXFLAGS='-DHAVE_UNISTD_H') +env.SharedLibrary('profiler','profiler.cpp',CXXFLAGS='-DHAVE_UNISTD_H',LINKFLAGS='-Wl,--out-implib=libprofiler.dll.a') env.Program('test','test.cpp',LIBS = 'profiler',LIBPATH='.') |