aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libspl/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libspl/Makefile.am')
-rw-r--r--lib/libspl/Makefile.am10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/libspl/Makefile.am b/lib/libspl/Makefile.am
index b3d9ee79c..ad34c3588 100644
--- a/lib/libspl/Makefile.am
+++ b/lib/libspl/Makefile.am
@@ -17,7 +17,10 @@ AM_CFLAGS += $(LIBTIRPC_CFLAGS)
AM_CCASFLAGS = \
$(CFLAGS)
-noinst_LTLIBRARIES = libspl.la
+noinst_LTLIBRARIES = libspl_assert.la libspl.la
+
+libspl_assert_la_SOURCES = \
+ assert.c
USER_C = \
list.c \
@@ -49,4 +52,7 @@ libspl_la_SOURCES = \
$(USER_C) \
$(TARGET_CPU_ATOMIC_SOURCE)
-libspl_la_LIBADD = -lrt $(LIBTIRPC_LIBS)
+libspl_la_LIBADD = \
+ libspl_assert.la
+
+libspl_la_LIBADD += -lrt $(LIBTIRPC_LIBS)