Mercurial > libpst
annotate python/Makefile.am @ 392:54465fca8b9e
Use PKG_CHECK_MODULES to find the gsf-1 library
It uses the architecture-prefixed pkg-config binary,
so cross-compiling libpst on multi-arch systems works.
Fixes: https://bugs.debian.org/838390
author | Paul Wise <pabs3@bonedaddy.net> |
---|---|
date | Mon, 23 Dec 2019 12:23:22 +0800 |
parents | 5b3e7661adad |
children |
rev | line source |
---|---|
198
7c60d6d1c681
decode more recurrence mapi elements
Carl Byington <carl@five-ten-sg.com>
parents:
196
diff
changeset
|
1 if PYTHON_INTERFACE |
7c60d6d1c681
decode more recurrence mapi elements
Carl Byington <carl@five-ten-sg.com>
parents:
196
diff
changeset
|
2 |
195
320cfcba8058
add python module interface to the shared library for easy scripting.
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
3 if PLATFORM_WIN32 |
320cfcba8058
add python module interface to the shared library for easy scripting.
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
4 NO_UNDEFINED = -no-undefined |
320cfcba8058
add python module interface to the shared library for easy scripting.
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
5 else |
320cfcba8058
add python module interface to the shared library for easy scripting.
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
6 NO_UNDEFINED = |
320cfcba8058
add python module interface to the shared library for easy scripting.
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
7 endif |
320cfcba8058
add python module interface to the shared library for easy scripting.
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
8 |
196
ffd1503a7530
build proper python rpm subpackage
Carl Byington <carl@five-ten-sg.com>
parents:
195
diff
changeset
|
9 pythonlibdir = $(libdir)/@PYTHON_VERSION@/site-packages |
ffd1503a7530
build proper python rpm subpackage
Carl Byington <carl@five-ten-sg.com>
parents:
195
diff
changeset
|
10 pythonlib_LTLIBRARIES = _libpst.la |
ffd1503a7530
build proper python rpm subpackage
Carl Byington <carl@five-ten-sg.com>
parents:
195
diff
changeset
|
11 _libpst_la_LDFLAGS = -module $(NO_UNDEFINED) -avoid-version |
ffd1503a7530
build proper python rpm subpackage
Carl Byington <carl@five-ten-sg.com>
parents:
195
diff
changeset
|
12 _libpst_la_SOURCES = python-libpst.cpp |
293 | 13 _libpst_la_LIBADD = -l@BOOST_PYTHON_LIB@ ../src/libpst.la |
195
320cfcba8058
add python module interface to the shared library for easy scripting.
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
14 |
320cfcba8058
add python module interface to the shared library for easy scripting.
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
15 # set the include path found by configure |
320cfcba8058
add python module interface to the shared library for easy scripting.
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
16 INCLUDES= -I$(srcdir)/.. -I$(srcdir)/../src $(all_includes) -I$(PYTHON_INCLUDE_DIR) |
198
7c60d6d1c681
decode more recurrence mapi elements
Carl Byington <carl@five-ten-sg.com>
parents:
196
diff
changeset
|
17 |
7c60d6d1c681
decode more recurrence mapi elements
Carl Byington <carl@five-ten-sg.com>
parents:
196
diff
changeset
|
18 endif |