Author haubi
Recipients Arfrever, doko, haubi
Date 2014-06-03.06:33:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1401777198.54.0.102353773835.issue15590@psf.upfronthosting.co.za>
In-reply-to
Content
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'.
History
Date User Action Args
2014-06-03 06:33:18haubisetrecipients: + haubi, doko, Arfrever
2014-06-03 06:33:18haubisetmessageid: <1401777198.54.0.102353773835.issue15590@psf.upfronthosting.co.za>
2014-06-03 06:33:18haubilinkissue15590 messages
2014-06-03 06:33:18haubicreate