mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 09:21:03 +00:00
ICU-3389 Fix how the output library is named.
X-SVN-Rev: 15244
This commit is contained in:
parent
6395813d7f
commit
350aaa2bf8
2 changed files with 4 additions and 1 deletions
|
@ -133,16 +133,19 @@ typedef struct UPKGOptions_
|
|||
# define UDATA_SO_SUFFIX ".DLL"
|
||||
# endif
|
||||
# define LIB_PREFIX ""
|
||||
# define LIB_STATIC_PREFIX ""
|
||||
# define OBJ_SUFFIX ".obj"
|
||||
# define UDATA_LIB_SUFFIX ".LIB"
|
||||
|
||||
#elif defined(U_CYGWIN)
|
||||
# define LIB_PREFIX "cyg"
|
||||
# define LIB_STATIC_PREFIX "lib"
|
||||
# define OBJ_SUFFIX ".o"
|
||||
# define UDATA_LIB_SUFFIX ".a"
|
||||
|
||||
#else /* POSIX? */
|
||||
# define LIB_PREFIX "lib"
|
||||
# define LIB_STATIC_PREFIX "lib"
|
||||
# define OBJ_SUFFIX ".o"
|
||||
# define UDATA_LIB_SUFFIX ".a"
|
||||
#endif
|
||||
|
|
|
@ -120,7 +120,7 @@ void pkg_mode_static(UPKGOptions *o, FileStream *makefile, UErrorCode *status)
|
|||
return;
|
||||
}
|
||||
|
||||
uprv_strcpy(tmp, LIB_PREFIX);
|
||||
uprv_strcpy(tmp, LIB_STATIC_PREFIX);
|
||||
uprv_strcat(tmp, o->cShortName);
|
||||
uprv_strcat(tmp, UDATA_LIB_SUFFIX);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue