Skip to content

Commit 5a5f0aa

Browse files
committed
Fix build on OSX.
1 parent f1bd160 commit 5a5f0aa

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/python/Makefile.am

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
if BUILD_PYTHON
22

3+
AM_CPPFLAGS = $(BOOST_CPPFLAGS) $(PYTHON_CFLAGS) $(MDDS_CFLAGS)
4+
35
pyexec_LTLIBRARIES = _orcus.la _orcus_json.la
46

57
_orcus_la_SOURCES = \
68
python.cpp
79

810
_orcus_la_LDFLAGS = -module -avoid-version -export-symbols-regex PyInit__orcus
9-
_orcus_la_CPPFLAGS = -I$(top_srcdir)/include $(PYTHON_CFLAGS) $(MDDS_CFLAGS)
11+
_orcus_la_CPPFLAGS = -I$(top_srcdir)/include $(AM_CPPFLAGS)
1012
_orcus_la_LIBADD = \
1113
../liborcus/liborcus-@ORCUS_API_VERSION@.la \
1214
../parser/liborcus-parser-@ORCUS_API_VERSION@.la \
@@ -16,7 +18,7 @@ _orcus_json_la_SOURCES = \
1618
json.cpp
1719

1820
_orcus_json_la_LDFLAGS = -module -avoid-version -export-symbols-regex PyInit__orcus_json
19-
_orcus_json_la_CPPFLAGS = -I$(top_srcdir)/include $(PYTHON_CFLAGS) $(MDDS_CFLAGS)
21+
_orcus_json_la_CPPFLAGS = -I$(top_srcdir)/include $(AM_CPPFLAGS)
2022
_orcus_json_la_LIBADD = \
2123
../liborcus/liborcus-@ORCUS_API_VERSION@.la \
2224
../parser/liborcus-parser-@ORCUS_API_VERSION@.la \

src/spreadsheet/Makefile.am

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ if BUILD_SPREADSHEET_MODEL
22

33
AM_CPPFLAGS = -I$(top_srcdir)/include -D__ORCUS_SPM_BUILDING_DLL
44

5+
AM_CPPFLAGS += $(BOOST_CPPFLAGS)
6+
57
COMMON_CPPFLAGS = $(AM_CPPFLAGS)
68

79
if HAVE_STATIC_LIB

0 commit comments

Comments
 (0)