Message219665
Well, they should not be identical, as they are for different use cases.
"pkg-config python" is to build an application containing a python interpreter (like python$EXE):
+ Link against libpython.so. Additionally,
+ re-export symbols from libpython.so for the python-modules (platform-specific).
= This is similar to build against any other library, thus using 'pkg-config python'.
"python-config" is to build a python-module (like build/lib.<platform>-<pyver>/*.so):
+ No need to link against libpython.so, instead
+ expect symbols from libpython.so to be available at runtime, platform specific either
+ as a list of symbols to import from "the main executable" (AIX), or
+ as undefined symbols at build-time (Linux, others), or
= This is specific to python-modules, thus using 'python-config'. |
|
Date |
User |
Action |
Args |
2014-06-03 06:33:18 | haubi | set | recipients:
+ haubi, doko, Arfrever |
2014-06-03 06:33:18 | haubi | set | messageid: <1401777198.54.0.102353773835.issue15590@psf.upfronthosting.co.za> |
2014-06-03 06:33:18 | haubi | link | issue15590 messages |
2014-06-03 06:33:18 | haubi | create | |
|