summaryrefslogtreecommitdiff
path: root/src/compat/Makefile.am
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-11-05 23:21:37 +0000
committerMorgan Deters <mdeters@gmail.com>2012-11-05 23:21:37 +0000
commit44ee91efd25f0c64e1ef5d932280935f20403512 (patch)
tree7dab7749f3c92deb9ec81181a98654ab357d0bc6 /src/compat/Makefile.am
parent0c70f77d75ba206e572fa0c91cbb2d8773a6a8db (diff)
fixes for replacement function library
Diffstat (limited to 'src/compat/Makefile.am')
-rw-r--r--src/compat/Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/compat/Makefile.am b/src/compat/Makefile.am
index a79301c18..1c2998e94 100644
--- a/src/compat/Makefile.am
+++ b/src/compat/Makefile.am
@@ -29,14 +29,19 @@ libcvc4compat_la_LDFLAGS = \
libcvc4compat_noinst_la_LDFLAGS =
libcvc4compat_la_LIBADD = \
- @builddir@/../lib/libreplacements.la \
-L@builddir@/.. -lcvc4 \
-L@builddir@/../parser -lcvc4parser
libcvc4compat_noinst_la_LIBADD = \
- @builddir@/../lib/libreplacements.la \
-L@builddir@/.. -lcvc4 \
-L@builddir@/../parser -lcvc4parser
+if CVC4_NEEDS_REPLACEMENT_FUNCTIONS
+libcvc4compat_la_LIBADD += \
+ @builddir@/../lib/libreplacements.la
+libcvc4compat_noinst_la_LIBADD += \
+ @builddir@/../lib/libreplacements.la
+endif
+
libcvc4compat_la_SOURCES = \
cvc3_compat.h \
cvc3_compat.cpp
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback