We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2158758 commit 16d884bCopy full SHA for 16d884b
src/libharp/math/Makefile.am
@@ -25,8 +25,11 @@ noinst_LTLIBRARIES = libharpmath.la
25
libharpmath_la_includedir = $(includedir)/harp
26
libharpmath_la_include_HEADERS = harp/math.hpp harp/linalg.hpp
27
libharpmath_la_SOURCES = harp_linalg.cpp harp_math.cpp
28
-libharpmath_la_LIBADD = \
29
-$(top_builddir)/src/libharp/math/boost_numpy/libboost_numpy.la
+libharpmath_la_LIBADD =
+
30
+if HAVE_AM_PYTHON
31
+ libharpmath_la_LIBADD += $(top_builddir)/src/libharp/math/boost_numpy/libboost_numpy.la
32
+endif
33
34
install-data-local:
35
@$(mkinstalldirs) $(DESTDIR)$(includedir)/boost; \
0 commit comments