File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1+ Enable libpython3.so for VxWorks.
Original file line number Diff line number Diff line change @@ -5937,7 +5937,7 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>confdefs.h
59375937 PY3LIBRARY=libpython3.so
59385938 fi
59395939 ;;
5940- Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*)
5940+ Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*|VxWorks* )
59415941 LDLIBRARY='libpython$(LDVERSION).so'
59425942 BLDLIBRARY='-L. -lpython$(LDVERSION)'
59435943 RUNSHARED=LD_LIBRARY_PATH=`pwd`${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
@@ -9721,7 +9721,7 @@ then
97219721# when running test_compile.py.
97229722LINKFORSHARED='-Wl,-E -N 2048K';;
97239723VxWorks*)
9724- LINKFORSHARED='--export-dynamic';;
9724+ LINKFORSHARED='-Wl, -export-dynamic';;
97259725esac
97269726fi
97279727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINKFORSHARED" >&5
Original file line number Diff line number Diff line change @@ -1133,7 +1133,7 @@ if test $enable_shared = "yes"; then
11331133 PY3LIBRARY=libpython3.so
11341134 fi
11351135 ;;
1136- Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*)
1136+ Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*|VxWorks* )
11371137 LDLIBRARY='libpython$(LDVERSION).so'
11381138 BLDLIBRARY='-L. -lpython$(LDVERSION)'
11391139 RUNSHARED=LD_LIBRARY_PATH=`pwd`${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
@@ -2798,7 +2798,7 @@ then
27982798# when running test_compile.py.
27992799LINKFORSHARED='-Wl,-E -N 2048K';;
28002800VxWorks*)
2801- LINKFORSHARED='--export-dynamic';;
2801+ LINKFORSHARED='-Wl, -export-dynamic';;
28022802esac
28032803fi
28042804AC_MSG_RESULT ( $LINKFORSHARED )
You can’t perform that action at this time.
0 commit comments