I am trying to do the proper thing in a Makefile for libselinux and libsemanage. I want the Make file to just do make -> would build everything correct for python2 make PYTHON=/usr/bin/python3 -> would build everything correct for python3 I can do everything within the makefile except set the suffix for the shared library becasue python-config --extension-suffix does not exist.
http://pkgs.fedoraproject.org/gitweb/?p=python.git;a=commitdiff;h=73e351dac166f3a4567871a07e3b11f34286a2ca Building python-2.7.2-8.fc17 for dist-rawhide Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=3297039