From: Michael K. <ki...@us...> - 2005-02-22 06:22:11
|
Update of /cvsroot/xsb/XSB/packages/perlmatch In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24346/packages/perlmatch Modified Files: plmchconfig.P Log Message: commit of barry evans's patches Index: plmchconfig.P =================================================================== RCS file: /cvsroot/xsb/XSB/packages/perlmatch/plmchconfig.P,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- plmchconfig.P 12 Jul 2002 04:56:49 -0000 1.15 +++ plmchconfig.P 22 Feb 2005 06:22:02 -0000 1.16 @@ -100,7 +100,14 @@ rename(Objfile, LibObjFile), %% Note: the .so ending is heavily Unix-centered. I dunno what this %% corresponds to in windows. - mk + ( + (xsb_configuration(architecture,A),str_sub(darwin,A)) + -> + str_cat(Module, '.dylib', SharedLib), + fmt_write_string(LibMod, '%s%s%s.dylib', a(ConfigLibdir,Slash,Basename)) + ; str_cat(Module, '.so', SharedLib), - fmt_write_string(LibMod, '%s%s%s.so', a(ConfigLibdir,Slash,Basename)), + fmt_write_string(LibMod, '%s%s%s.so', a(ConfigLibdir,Slash,Basename)) + ), rename(SharedLib,LibMod) ). |