[Kde-cygwin-cvs] CVS: tools/profiler SConstruct,1.3,1.4
Status: Inactive
Brought to you by:
habacker
From: Ralf H. <hab...@us...> - 2005-10-14 14:21:47
|
Update of /cvsroot/kde-cygwin/tools/profiler In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14705 Modified Files: SConstruct Log Message: library uses own platform depending environment Index: SConstruct =================================================================== RCS file: /cvsroot/kde-cygwin/tools/profiler/SConstruct,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- SConstruct 14 Oct 2005 14:06:37 -0000 1.3 +++ SConstruct 14 Oct 2005 14:21:32 -0000 1.4 @@ -9,7 +9,10 @@ env = Environment() if sys.platform == 'cygwin': - env = Environment(SHLIBPREFIX='cyg',SHLIBSUFFIX='-'+version[:1]+env['SHLIBSUFFIX']) + lib = Environment(SHLIBPREFIX='cyg',SHLIBSUFFIX='-'+version[:1]+env['SHLIBSUFFIX'],LINKFLAGS='-Wl,--out-implib=libprofiler.dll.a') +else: + lib = Environment() -env.SharedLibrary('profiler','profiler.cpp',CXXFLAGS='-DHAVE_UNISTD_H',LINKFLAGS='-Wl,--out-implib=libprofiler.dll.a') -env.Program('test','test.cpp',LIBS = 'profiler',LIBPATH='.') +lib.SharedLibrary('profiler','profiler.cpp',CXXFLAGS='-DHAVE_UNISTD_H') + +env.Program('test','test.cpp',LIBS='profiler',LIBPATH='.') |