summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpxinwr <peixing.xin@windriver.com>2020-12-15 06:14:43 +0800
committerGitHub <noreply@github.com>2020-12-14 23:14:43 +0100
commitc117426bf8e7dd7a25e7d15bfbc88253b6ed42de (patch)
tree49c56ed434305c79491794b7be7dea6ca5eac9a6 /configure
parentbpo-42639: atexit now logs callbacks exceptions (GH-23771) (diff)
downloadcpython-c117426bf8e7dd7a25e7d15bfbc88253b6ed42de.tar.gz
cpython-c117426bf8e7dd7a25e7d15bfbc88253b6ed42de.tar.bz2
cpython-c117426bf8e7dd7a25e7d15bfbc88253b6ed42de.zip
bpo-31904: Enable libpython3.so shared library for VxWorks (GH-23741)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 0c0aee96d50..d9e610ea4d0 100755
--- a/configure
+++ b/configure
@@ -5937,7 +5937,7 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>confdefs.h
PY3LIBRARY=libpython3.so
fi
;;
- Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*)
+ Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*|VxWorks*)
LDLIBRARY='libpython$(LDVERSION).so'
BLDLIBRARY='-L. -lpython$(LDVERSION)'
RUNSHARED=LD_LIBRARY_PATH=`pwd`${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
@@ -9721,7 +9721,7 @@ then
# when running test_compile.py.
LINKFORSHARED='-Wl,-E -N 2048K';;
VxWorks*)
- LINKFORSHARED='--export-dynamic';;
+ LINKFORSHARED='-Wl,-export-dynamic';;
esac
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINKFORSHARED" >&5