Skip to content

Commit

Permalink
Do not link boost numpy library if python is disabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
tskisner committed Feb 18, 2016
1 parent 2158758 commit 16d884b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/libharp/math/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ noinst_LTLIBRARIES = libharpmath.la
libharpmath_la_includedir = $(includedir)/harp
libharpmath_la_include_HEADERS = harp/math.hpp harp/linalg.hpp
libharpmath_la_SOURCES = harp_linalg.cpp harp_math.cpp
libharpmath_la_LIBADD = \
$(top_builddir)/src/libharp/math/boost_numpy/libboost_numpy.la
libharpmath_la_LIBADD =

if HAVE_AM_PYTHON
libharpmath_la_LIBADD += $(top_builddir)/src/libharp/math/boost_numpy/libboost_numpy.la
endif

install-data-local:
@$(mkinstalldirs) $(DESTDIR)$(includedir)/boost; \
Expand Down

0 comments on commit 16d884b

Please sign in to comment.