use FSEPX to create filename
authorjesusc <jesusc@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 24 Jul 2003 16:37:54 +0000 (16:37 +0000)
committerjesusc <jesusc@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 24 Jul 2003 16:37:54 +0000 (16:37 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2771 4a8a32a2-be11-0410-ad9d-d568d2c75423

as/mcs51/lklibr.c

index d0d6c23e124a2939a62f9901c06cc09800c426a5..204449534c0b63a929199200628aa05022c8e777 100644 (file)
@@ -417,7 +417,7 @@ int SdccLib(char * PathLib, FILE * libfp, char * DirLib, char * SymName)
                                                /*As in the original library format, it is assumed that the .rel
                                                files reside in the same directory as the lib files.*/
                                                strcat(DirLib, ModName);
-                                               strcat(DirLib, ".rel"); /*FSEPX???*/
+                                       sprintf(&DirLib[strlen(DirLib)], "%crel", FSEPX);
 
                                                /*If this module has been loaded already don't load it again.*/
                                                lbf = lbfhead;