mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-27 07:21:09 +08:00
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
fc8745070a
.
This commit is contained in:
parent
915a29a10c
commit
5aec9ccafe
@ -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
|
||||
|
2
configure
vendored
2
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user