openwrt-packages/lang/python/python
Jeffery To 229c23a440 python,python3: Fix host Python compilation for macOS
* Remove $$$$(pkg-config --static --libs libcrypto libssl) from
  HOST_LDFLAGS

  Having this leads to an "unknown type name 'u_int'" error on Mac.
  Removing it doesn't appear to affect Python's ability to find
  buildroot LibreSSL.

* Change -Wl,-rpath=... to -Wl,-rpath,... in HOST_LDFLAGS

  The equals sign version is not supported by the Mac linker (appears to
  be an GNU extension). The comma version is supported; -rpath and its
  argument will be separated by a space when passed to the linker.

* Add ac_cv_header_libintl_h=no to HOST_CONFIGURE_VARS for Mac

  Python on Mac doesn't expect to use libintl, but if gettext-full is
  compiled for host, it will try, leading to undefined symbol errors
  during compilation. This prevents configure from finding libintl.h.

Fixes #7171.
Fixes #9621.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-08-17 04:45:58 +08:00
..
files python,python3: Move python-config to $(STAGING_DIR)/host 2019-06-10 20:33:06 +08:00
patches python: Replace utime with utimes 2019-07-30 23:44:43 -07:00
patches-setuptools python-setuptools: Add reproducibility patches from Debian 2019-05-24 13:18:09 +08:00
Config-python-light.in python,python3: define config option for bluetooth support 2017-12-10 19:49:23 +02:00
Makefile python,python3: Fix host Python compilation for macOS 2019-08-17 04:45:58 +08:00