summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2013-01-06 20:49:53 +0000
committerTom Lane2013-01-06 20:49:53 +0000
commit5aec9ccafe3b2b31b95ac69990704f260b8e1a63 (patch)
treea59a4717722c0370c060440c9ecae888d2e35a8e
parent915a29a10cdabfbe301dc7201299841339b9798f (diff)
Fix plpython build on older versions of OS X.
Pre-Lion versions of Apple's linker don't allow space between -F and its argument. (Snow Leopard is nice enough to tell you that in so many words, but older versions just fail with very obscure link errors, as seen on buildfarm member locust for instance.) Oversight in commit fc8745070a53469a43ecbf999dc5692a36a649cc.
-rw-r--r--config/python.m42
-rwxr-xr-xconfigure2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/python.m4 b/config/python.m4
index af4d8d715b..5cb285489b 100644
--- a/config/python.m4
+++ b/config/python.m4
@@ -73,7 +73,7 @@ python_enable_shared=`${PYTHON} -c "import distutils.sysconfig; print(distutils.
if test -n "$python_framework"; then
python_frameworkprefix=`${PYTHON} -c "import distutils.sysconfig; print(' '.join(filter(None,distutils.sysconfig.get_config_vars('PYTHONFRAMEWORKPREFIX'))))"`
- python_libspec="-F $python_frameworkprefix -framework $python_framework"
+ python_libspec="-F${python_frameworkprefix} -framework $python_framework"
python_enable_shared=1
elif test x"${python_libdir}" != x"" -a x"${python_ldlibrary}" != x"" -a x"${python_ldlibrary}" != x"${ldlibrary}"
then
diff --git a/configure b/configure
index 09bc0cf219..ef016329cc 100755
--- a/configure
+++ b/configure
@@ -7451,7 +7451,7 @@ python_enable_shared=`${PYTHON} -c "import distutils.sysconfig; print(distutils.
if test -n "$python_framework"; then
python_frameworkprefix=`${PYTHON} -c "import distutils.sysconfig; print(' '.join(filter(None,distutils.sysconfig.get_config_vars('PYTHONFRAMEWORKPREFIX'))))"`
- python_libspec="-F $python_frameworkprefix -framework $python_framework"
+ python_libspec="-F${python_frameworkprefix} -framework $python_framework"
python_enable_shared=1
elif test x"${python_libdir}" != x"" -a x"${python_ldlibrary}" != x"" -a x"${python_ldlibrary}" != x"${ldlibrary}"
then