diff --git a/src/xercesc/Makefile.incl b/src/xercesc/Makefile.incl index a4a75da599bdbceb8bffcb9202f814714e96fa1c..5e1f1e0513aa1fa7ae0242469efdd5d6cd1fd601 100644 --- a/src/xercesc/Makefile.incl +++ b/src/xercesc/Makefile.incl @@ -320,6 +320,18 @@ ifeq (${PLATFORM}, LINUX) PLATFORM_COMPILE_OPTIONS = -fPIC -D${PLATFORM} -D_REENTRANT MAKE_SHARED = ${CXX} -D${PLATFORM} -shared -fPIC ${LDFLAGS} MAKE_SHARED_C = ${CC} -D${PLATFORM} -shared -fPIC ${LDFLAGS} + +ifeq (${BITSTOBUILD}, 64) +ifeq (${TRANSCODER}, ICU) + ALLLIBS = ${LIBS} -L/usr/lib64 -L/usr/lib -L/usr/local/lib -L/usr/ccs/lib -licuuc -licudata +else + ALLLIBS = ${LIBS} -L/usr/lib64 -L/usr/lib -L/usr/local/lib -L/usr/ccs/lib +endif + +ifeq (${MESSAGELOADER}, ICU) + ALLLIBS = ${LIBS} -L/usr/lib64 -L/usr/lib -L/usr/local/lib -L/usr/ccs/lib -licuuc -licudata -lXercesMessages +endif +else ifeq (${TRANSCODER}, ICU) ALLLIBS = ${LIBS} -L/usr/lib -L/usr/local/lib -L/usr/ccs/lib -licuuc -licudata else @@ -329,6 +341,7 @@ endif ifeq (${MESSAGELOADER}, ICU) ALLLIBS = ${LIBS} -L/usr/lib -L/usr/local/lib -L/usr/ccs/lib -licuuc -licudata -lXercesMessages endif +endif EXTRA_LINK_OPTIONS = -Xlinker -Map -Xlinker $(XML_OBJ)/${SO_NAME}.map SHLIBSUFFIX=.so