Patch for Cygwin support: use correct DSO/shared library prefix and
suffix. Thanks to Marco Atzeri for reporting the issue and providing an initial patch. This commit was SVN r28059.
Этот коммит содержится в:
родитель
b9897267ef
Коммит
fde6207fe1
@ -1123,8 +1123,13 @@ LT_INIT([dlopen win32-dll])
|
|||||||
# platforms, there didn't seem to be any harm in leaving in some of
|
# platforms, there didn't seem to be any harm in leaving in some of
|
||||||
# them, alhtough I did remove some that we have never/will never
|
# them, alhtough I did remove some that we have never/will never
|
||||||
# support, like OS/2).
|
# support, like OS/2).
|
||||||
|
OPAL_DYN_LIB_PREFIX=lib
|
||||||
case $host_os in
|
case $host_os in
|
||||||
cygwin* | mingw* | pw32* | cegcc*)
|
cygwin*)
|
||||||
|
OPAL_DYN_LIB_PREFIX=cyg
|
||||||
|
OPAL_DYN_LIB_SUFFIX=dll
|
||||||
|
;;
|
||||||
|
mingw* | pw32* | cegcc*)
|
||||||
OPAL_DYN_LIB_SUFFIX=dll
|
OPAL_DYN_LIB_SUFFIX=dll
|
||||||
;;
|
;;
|
||||||
darwin* | rhapsody*)
|
darwin* | rhapsody*)
|
||||||
@ -1144,6 +1149,7 @@ hpux9* | hpux10* | hpux11*)
|
|||||||
OPAL_DYN_LIB_SUFFIX=so
|
OPAL_DYN_LIB_SUFFIX=so
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
AC_SUBST(OPAL_DYN_LIB_PREFIX)
|
||||||
AC_SUBST(OPAL_DYN_LIB_SUFFIX)
|
AC_SUBST(OPAL_DYN_LIB_SUFFIX)
|
||||||
|
|
||||||
OPAL_SETUP_LIBLTDL
|
OPAL_SETUP_LIBLTDL
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
# University of Stuttgart. All rights reserved.
|
# University of Stuttgart. All rights reserved.
|
||||||
# Copyright (c) 2004-2005 The Regents of the University of California.
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
# Copyright (c) 2007-2010 Cisco Systems, Inc. All rights reserved.
|
# Copyright (c) 2007-2013 Cisco Systems, Inc. All rights reserved.
|
||||||
# $COPYRIGHT$
|
# $COPYRIGHT$
|
||||||
#
|
#
|
||||||
# Additional copyrights may follow
|
# Additional copyrights may follow
|
||||||
@ -58,9 +58,9 @@ libdebuggers_la_SOURCES = \
|
|||||||
$(headers) \
|
$(headers) \
|
||||||
ompi_debuggers.c
|
ompi_debuggers.c
|
||||||
libdebuggers_la_CPPFLAGS = \
|
libdebuggers_la_CPPFLAGS = \
|
||||||
-DOMPI_MSGQ_DLL=\"$(pkglibdir)/libompi_dbg_msgq.so\" \
|
-DOMPI_MSGQ_DLL=\"$(pkglibdir)/$(OPAL_DYN_LIB_PREFIX)ompi_dbg_msgq.$(OPAL_DYN_LIB_SUFFIX)\" \
|
||||||
-DOMPI_MSGQ_DLL_PREFIX=\"libompi_dbg_msgq\" \
|
-DOMPI_MSGQ_DLL_PREFIX=\"$(OPAL_DYN_LIB_PREFIX)ompi_dbg_msgq\" \
|
||||||
-DOMPI_MPIHANDLES_DLL_PREFIX=\"libompi_dbg_mpihandles\"
|
-DOMPI_MPIHANDLES_DLL_PREFIX=\"$(OPAL_DYN_LIB_PREFIX)ompi_dbg_mpihandles\"
|
||||||
|
|
||||||
libompi_debugger_canary_la_SOURCES = \
|
libompi_debugger_canary_la_SOURCES = \
|
||||||
ompi_debugger_canary.c
|
ompi_debugger_canary.c
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user