view python/Makefile.am @ 372:5b52efe35bd8

fedora python nameing scheme changes
author Carl Byington <carl@five-ten-sg.com>
date Fri, 21 Jul 2017 19:54:46 -0700
parents 5b3e7661adad
children
line wrap: on
line source

if PYTHON_INTERFACE

if PLATFORM_WIN32
    NO_UNDEFINED = -no-undefined
else
    NO_UNDEFINED =
endif

pythonlibdir            = $(libdir)/@PYTHON_VERSION@/site-packages
pythonlib_LTLIBRARIES   = _libpst.la
_libpst_la_LDFLAGS      = -module $(NO_UNDEFINED) -avoid-version
_libpst_la_SOURCES      = python-libpst.cpp
_libpst_la_LIBADD       = -l@BOOST_PYTHON_LIB@ ../src/libpst.la

# set the include path found by configure
INCLUDES= -I$(srcdir)/.. -I$(srcdir)/../src $(all_includes) -I$(PYTHON_INCLUDE_DIR)

endif