diff options
| author | Ronald Oussoren <ronaldoussoren@mac.com> | 2009-01-02 10:46:42 +0000 |
|---|---|---|
| committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2009-01-02 10:46:42 +0000 |
| commit | e9cce8e0922196c3c1773eb08a671e101e4225c7 (patch) | |
| tree | a3c3fb86e750dc95243aa341eef21e3fb5547b28 /configure.in | |
| parent | 47fe9817f12caa13830dbb4a166b779389d69bc2 (diff) | |
| download | cpython-git-e9cce8e0922196c3c1773eb08a671e101e4225c7.tar.gz | |
Backport of r68146
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in index cf70489a3d..3b1736bee4 100644 --- a/configure.in +++ b/configure.in @@ -737,6 +737,12 @@ if test $enable_shared = "yes"; then BLDLIBRARY='-L. -lpython$(VERSION)' RUNSHARED=DLL_PATH=`pwd`:${DLL_PATH:-/atheos/sys/libs:/atheos/autolnk/lib} ;; + Darwin*) + LDLIBRARY='libpython$(VERSION).dylib' + BLDLIBRARY='-L. -lpython$(VERSION)' + RUNSHARED='DYLD_LIBRARY_PATH=`pwd`:${DYLD_LIBRARY_PATH}' + ;; + esac else # shared is disabled case $ac_sys_system in @@ -1597,6 +1603,7 @@ else sleep 10 fi AC_MSG_RESULT($SO) + AC_DEFINE_UNQUOTED(SHLIB_EXT, "$SO", [Define this to be extension of shared libraries (including the dot!).]) # LDSHARED is the ld *command* used to create shared library # -- "cc -G" on SunOS 5.x, "ld -shared" on IRIX 5 |
