[prev in list] [next in list] [prev in thread] [next in thread] 

List:       icu-bugrfe
Subject:    Notification: incoming/1862
From:       jtcsv () jtcsv ! com
Date:       2002-04-15 23:49:26
[Download RAW message or body]

ICU bug tracking authorized access notification

srl moved PR#1862 from incoming to tools
Message summary for PR#1862
	From: srl@jtcsv.com
	Subject: pkgdata's lib name is wrong with nonversioned dlls
	Date: Mon Apr 15 19:47:00 2002
	0 replies 	0 followups
	Notes: assign: srl



====> ORIGINAL MESSAGE FOLLOWS <====

From: srl@jtcsv.com
To: jtcsv@jtcsv.com
Date: Mon Apr 15 19:47:00 2002
Subject: pkgdata's lib name is wrong with nonversioned dlls

Full_Name: Steven R. Loomis
Version: cvs
OS: mac
PROJECT: ICU4C
JAVA:   
ICU_Component: tools
Submission from: (NULL) (32.97.110.142)
Submitted by: srl


under pkgdata dllmode does not set MIDDLE_SO_TARGET properly if there is no
version number
on the library name.  (i.e.:  this does NOT apply to ICU's data)
This causes MacOSX and possibly other platforms to have incorrect library names
for user built data.  (i.e.   /home/srl/II/..dylib  - just the lib suffix with
no
unique name). Solution is to force MIDDLE_SO_TARGET if there is no version
number

Index: dllmode.c
===================================================================
RCS file: /usr/cvs/icu/icu/source/tools/pkgdata/dllmode.c,v
retrieving revision 1.33
diff -c -r1.33 dllmode.c
*** dllmode.c   20 Mar 2002 01:37:10 -0000      1.33
--- dllmode.c   15 Apr 2002 23:43:17 -0000
***************
*** 131,137 ****
        T_FileStream_writeLine(makefile, tmp);
        T_FileStream_writeLine(makefile, "\nDLL_LDFLAGS=$(LD_SONAME)
$(RPATH_LDFLAGS) $(BIR_LDFLAGS)\nDLL_DEPS=$(BIR_DEPS)\n");
    } else {
!       T_FileStream_writeLine(makefile,
"\nDLL_LDFLAGS=$(BIR_LDFLAGS)\nDLL_DEPS=$(BIR_DEPS)\n");
    }
    T_FileStream_writeLine(makefile, "\n");
  
--- 131,138 ----
        T_FileStream_writeLine(makefile, tmp);
        T_FileStream_writeLine(makefile, "\nDLL_LDFLAGS=$(LD_SONAME)
$(RPATH_LDFLAGS) $(BIR_LDFLAGS)\nDLL_DEPS=$(BIR_DEPS)\n");
    } else {
!       T_FileStream_writeLine(makefile,
"\nDLL_LDFLAGS=$(BIR_LDFLAGS)\nDLL_DEPS=$(BIR_DEPS)\n"); 
!       T_FileStream_writeLine(makefile, "MIDDLE_SO_TARGET=$(TARGET)\n");
    }
    T_FileStream_writeLine(makefile, "\n");
  

_______________________________________________
icu-bugrfe mailing list
icu-bugrfe@oss.software.ibm.com
http://oss.software.ibm.com/developerworks/oss/mailman/listinfo/icu-bugrfe
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic