--- Python-2.7.14/configure.ac.1 2018-01-27 11:57:17.922799993 +0000 +++ Python-2.7.14/configure.ac 2018-01-27 11:57:55.410514135 +0000 @@ -904,7 +904,7 @@ ;; SunOS*) LDLIBRARY='libpython$(VERSION).so' - BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(VERSION)' + BLDLIBRARY='-L. -lpython$(VERSION)' RUNSHARED=LD_LIBRARY_PATH=`pwd`${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} INSTSONAME="$LDLIBRARY".$SOVERSION ;;