Skip to content
Snippets Groups Projects
Commit d3c7adc1 authored by Tinny Ng's avatar Tinny Ng
Browse files

[Bug 6467] Installing Xerces C++ on cygwin environment. Patch from Abe Backus.

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@174176 13f79535-47bb-0310-9956-ffa450edef68
parent 01f3aabf
No related branches found
No related tags found
No related merge requests found
...@@ -192,7 +192,14 @@ ifeq (${OS390BATCH},1) ...@@ -192,7 +192,14 @@ ifeq (${OS390BATCH},1)
@echo "Nothing to do for OS390BATCH ..." @echo "Nothing to do for OS390BATCH ..."
else else
-mkdir -p ${PREFIX}/lib -mkdir -p ${PREFIX}/lib
ifeq (${PLATFORM}, CYGWIN)
-mkdir -p ${PREFIX}/bin
$(CP) ${FQ_LINK_NAME} ${PREFIX}/bin
rm -rf ${PREFIX}/lib/${LINK_NAME} && \
ln -s ${PREFIX}/bin/${LINK_NAME} ${PREFIX}/lib/${LINK_NAME}
else
$(CP) ${FQ_REAL_NAME} $(PREFIX)/lib $(CP) ${FQ_REAL_NAME} $(PREFIX)/lib
endif
ifeq (${PLATFORM},OS390) ifeq (${PLATFORM},OS390)
$(CP) ${LIBNAME}${VER}${OS390SIDEDECK} $(PREFIX)/lib $(CP) ${LIBNAME}${VER}${OS390SIDEDECK} $(PREFIX)/lib
endif endif
......
...@@ -508,14 +508,25 @@ else ...@@ -508,14 +508,25 @@ else
SO_NAME =${LIBNAME}${SO_TARGET_VERSION}${SHLIBSUFFIX} SO_NAME =${LIBNAME}${SO_TARGET_VERSION}${SHLIBSUFFIX}
REAL_NAME=${LIBNAME}${VER}${SHLIBSUFFIX} REAL_NAME=${LIBNAME}${VER}${SHLIBSUFFIX}
else else
# ifeq (${PLATFORM}, CYGWIN)
# LINK_NAME=libxerces-c.so #
# SO_NAME =libxerces-c.so.20 # LINK_NAME=libxerces-c.dll
# REAL_NAME=libxerces-c.so.20.0 # SO_NAME =libxerces-c20.dll
# # REAL_NAME=libxerces-c2_0_0.dll
LINK_NAME=${LIBNAME}${SHLIBSUFFIX} #
SO_NAME =${LIBNAME}${SHLIBSUFFIX}.${SO_TARGET_VERSION} LINK_NAME=${LIBNAME}${SHLIBSUFFIX}
REAL_NAME=${LIBNAME}${SHLIBSUFFIX}.${SO_TARGET_VERSION}.${SO_TARGET_VERSION_MAJOR} SO_NAME =${LIBNAME}${SO_TARGET_VERSION}${SHLIBSUFFIX}
REAL_NAME=${LIBNAME}${VER}${SHLIBSUFFIX}
else
#
# LINK_NAME=libxerces-c.so
# SO_NAME =libxerces-c.so.20
# REAL_NAME=libxerces-c.so.20.0
#
LINK_NAME=${LIBNAME}${SHLIBSUFFIX}
SO_NAME =${LIBNAME}${SHLIBSUFFIX}.${SO_TARGET_VERSION}
REAL_NAME=${LIBNAME}${SHLIBSUFFIX}.${SO_TARGET_VERSION}.${SO_TARGET_VERSION_MAJOR}
endif
endif endif
endif endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment