bpo-31904: Enable libpython3.so shared library for VxWorks (GH-23741)
This commit is contained in:
parent
357704c9f2
commit
c117426bf8
|
@ -0,0 +1 @@
|
||||||
|
Enable libpython3.so for VxWorks.
|
|
@ -5937,7 +5937,7 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>confdefs.h
|
||||||
PY3LIBRARY=libpython3.so
|
PY3LIBRARY=libpython3.so
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*)
|
Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*|VxWorks*)
|
||||||
LDLIBRARY='libpython$(LDVERSION).so'
|
LDLIBRARY='libpython$(LDVERSION).so'
|
||||||
BLDLIBRARY='-L. -lpython$(LDVERSION)'
|
BLDLIBRARY='-L. -lpython$(LDVERSION)'
|
||||||
RUNSHARED=LD_LIBRARY_PATH=`pwd`${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
RUNSHARED=LD_LIBRARY_PATH=`pwd`${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
||||||
|
@ -9721,7 +9721,7 @@ then
|
||||||
# when running test_compile.py.
|
# when running test_compile.py.
|
||||||
LINKFORSHARED='-Wl,-E -N 2048K';;
|
LINKFORSHARED='-Wl,-E -N 2048K';;
|
||||||
VxWorks*)
|
VxWorks*)
|
||||||
LINKFORSHARED='--export-dynamic';;
|
LINKFORSHARED='-Wl,-export-dynamic';;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINKFORSHARED" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINKFORSHARED" >&5
|
||||||
|
|
|
@ -1133,7 +1133,7 @@ if test $enable_shared = "yes"; then
|
||||||
PY3LIBRARY=libpython3.so
|
PY3LIBRARY=libpython3.so
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*)
|
Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*|VxWorks*)
|
||||||
LDLIBRARY='libpython$(LDVERSION).so'
|
LDLIBRARY='libpython$(LDVERSION).so'
|
||||||
BLDLIBRARY='-L. -lpython$(LDVERSION)'
|
BLDLIBRARY='-L. -lpython$(LDVERSION)'
|
||||||
RUNSHARED=LD_LIBRARY_PATH=`pwd`${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
RUNSHARED=LD_LIBRARY_PATH=`pwd`${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
||||||
|
@ -2798,7 +2798,7 @@ then
|
||||||
# when running test_compile.py.
|
# when running test_compile.py.
|
||||||
LINKFORSHARED='-Wl,-E -N 2048K';;
|
LINKFORSHARED='-Wl,-E -N 2048K';;
|
||||||
VxWorks*)
|
VxWorks*)
|
||||||
LINKFORSHARED='--export-dynamic';;
|
LINKFORSHARED='-Wl,-export-dynamic';;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
AC_MSG_RESULT($LINKFORSHARED)
|
AC_MSG_RESULT($LINKFORSHARED)
|
||||||
|
|
Loading…
Reference in New Issue