ICU-3389 Fix how the output library is named.

X-SVN-Rev: 15244
This commit is contained in:
George Rhoten 2004-05-10 23:55:33 +00:00
parent 6395813d7f
commit 350aaa2bf8
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -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);