Purpose of files in $(DESTDIR)$(LIBPL)

Hi, I'd like to ask about the purpose of files in $(DESTDIR)$(LIBPL) [1] - what is the reason to keep them/what are they useful for? I'm currently "taking over" Python packaging in Fedora and I'd like to know if these have some meaning for a distro-packaged Python (Dave Malcolm is not sure about them ;)). Thanks, Slavek. -- Regards, Bohuslav "Slavek" Kabrda. [1] http://hg.python.org/cpython/file/3.3/Makefile.pre.in#l1206

In article <1100748677.3355198.1367227656892.JavaMail.root@redhat.com>, Bohuslav Kabrda <bkabrda@redhat.com> wrote:
As is noted a bit further up in Makefile.pre.in: 1178 # Install the library and miscellaneous stuff needed for extending/embedding 1179 # This goes into $(exec_prefix) 1180 LIBPL= $(LIBDEST)/config-$(LDVERSION) As I understand it, LIBPL is the directory that contains the development files needed for embedding Python in C, things like the static and shared libpythox.x and the Makefile itself. They are intended to be referenced through the pythonx.y-config command. For example, on Debian, LIBPL is /usr/lib/python2.7/config. $ python2.7-config --ldflags -L/usr/lib/python2.7/config -lpthread -ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic The usage is documented here: http://docs.python.org/dev/extending/embedding.html#compiling-and-linking -under-unix-like-systems -- Ned Deily, nad@acm.org

In article <1100748677.3355198.1367227656892.JavaMail.root@redhat.com>, Bohuslav Kabrda <bkabrda@redhat.com> wrote:
As is noted a bit further up in Makefile.pre.in: 1178 # Install the library and miscellaneous stuff needed for extending/embedding 1179 # This goes into $(exec_prefix) 1180 LIBPL= $(LIBDEST)/config-$(LDVERSION) As I understand it, LIBPL is the directory that contains the development files needed for embedding Python in C, things like the static and shared libpythox.x and the Makefile itself. They are intended to be referenced through the pythonx.y-config command. For example, on Debian, LIBPL is /usr/lib/python2.7/config. $ python2.7-config --ldflags -L/usr/lib/python2.7/config -lpthread -ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic The usage is documented here: http://docs.python.org/dev/extending/embedding.html#compiling-and-linking -under-unix-like-systems -- Ned Deily, nad@acm.org
participants (2)
-
Bohuslav Kabrda
-
Ned Deily