Modified Patch #745620: build shared lib as ".so" for NetBSD.

This commit is contained in:
Martin v. Löwis 2003-05-31 07:58:45 +00:00
parent 3c120debef
commit 96ce805725
2 changed files with 3 additions and 3 deletions

4
configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in Revision: 1.412 .
# From configure.in Revision: 1.413 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53 for python 2.3.
#
@ -3268,7 +3268,7 @@ _ACEOF
BLDLIBRARY='-Wl,-rpath,$(LIBDIR) -L. -lpython$(VERSION)'
RUNSHARED=LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH
;;
Linux*|GNU*)
Linux*|GNU*|NetBSD*)
LDLIBRARY='libpython$(VERSION).so'
BLDLIBRARY='-L. -lpython$(VERSION)'
RUNSHARED=LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH

View File

@ -498,7 +498,7 @@ if test $enable_shared = "yes"; then
BLDLIBRARY='-Wl,-rpath,$(LIBDIR) -L. -lpython$(VERSION)'
RUNSHARED=LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH
;;
Linux*|GNU*)
Linux*|GNU*|NetBSD*)
LDLIBRARY='libpython$(VERSION).so'
BLDLIBRARY='-L. -lpython$(VERSION)'
RUNSHARED=LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH