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.
This commit is contained in:
parent
b9897267ef
commit
fde6207fe1
@ -1123,8 +1123,13 @@ LT_INIT([dlopen win32-dll])
|
||||
# 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
|
||||
# support, like OS/2).
|
||||
OPAL_DYN_LIB_PREFIX=lib
|
||||
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
|
||||
;;
|
||||
darwin* | rhapsody*)
|
||||
@ -1144,6 +1149,7 @@ hpux9* | hpux10* | hpux11*)
|
||||
OPAL_DYN_LIB_SUFFIX=so
|
||||
;;
|
||||
esac
|
||||
AC_SUBST(OPAL_DYN_LIB_PREFIX)
|
||||
AC_SUBST(OPAL_DYN_LIB_SUFFIX)
|
||||
|
||||
OPAL_SETUP_LIBLTDL
|
||||
|
@ -9,7 +9,7 @@
|
||||
# University of Stuttgart. All rights reserved.
|
||||
# Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
# Copyright (c) 2007-2010 Cisco Systems, Inc. All rights reserved.
|
||||
# Copyright (c) 2007-2013 Cisco Systems, Inc. All rights reserved.
|
||||
# $COPYRIGHT$
|
||||
#
|
||||
# Additional copyrights may follow
|
||||
@ -58,9 +58,9 @@ libdebuggers_la_SOURCES = \
|
||||
$(headers) \
|
||||
ompi_debuggers.c
|
||||
libdebuggers_la_CPPFLAGS = \
|
||||
-DOMPI_MSGQ_DLL=\"$(pkglibdir)/libompi_dbg_msgq.so\" \
|
||||
-DOMPI_MSGQ_DLL_PREFIX=\"libompi_dbg_msgq\" \
|
||||
-DOMPI_MPIHANDLES_DLL_PREFIX=\"libompi_dbg_mpihandles\"
|
||||
-DOMPI_MSGQ_DLL=\"$(pkglibdir)/$(OPAL_DYN_LIB_PREFIX)ompi_dbg_msgq.$(OPAL_DYN_LIB_SUFFIX)\" \
|
||||
-DOMPI_MSGQ_DLL_PREFIX=\"$(OPAL_DYN_LIB_PREFIX)ompi_dbg_msgq\" \
|
||||
-DOMPI_MPIHANDLES_DLL_PREFIX=\"$(OPAL_DYN_LIB_PREFIX)ompi_dbg_mpihandles\"
|
||||
|
||||
libompi_debugger_canary_la_SOURCES = \
|
||||
ompi_debugger_canary.c
|
||||
|
Loading…
x
Reference in New Issue
Block a user