vstinner / rpms / python3

Forked from rpms/python3 5 years ago
Clone
Blob Blame History Raw
diff --git a/configure.ac b/configure.ac
index 807e379..6eedf9e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1121,8 +1121,7 @@ if test $enable_shared = "yes"; then
           ;;
     Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*)
 	  LDLIBRARY='libpython$(LDVERSION).so'
-	  BLDLIBRARY='-L. -lpython$(LDVERSION)'
-	  RUNSHARED=LD_LIBRARY_PATH=`pwd`${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
+	  BLDLIBRARY='$(LIBRARY_OBJS)'
 	  INSTSONAME="$LDLIBRARY".$SOVERSION
 	  if test "$with_pydebug" != yes
           then