aboutsummaryrefslogtreecommitdiff
path: root/libctf/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'libctf/Makefile.am')
-rw-r--r--libctf/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/libctf/Makefile.am b/libctf/Makefile.am
index 49c9f52..926c991 100644
--- a/libctf/Makefile.am
+++ b/libctf/Makefile.am
@@ -35,4 +35,6 @@ noinst_LIBRARIES = libctf.a
libctf_a_SOURCES = ctf-archive.c ctf-dump.c ctf-create.c ctf-decl.c ctf-error.c \
ctf-hash.c ctf-labels.c ctf-lookup.c ctf-open.c ctf-open-bfd.c \
ctf-subr.c ctf-types.c ctf-util.c
-libctf_a_LIBADD = $(LIBOBJS)
+if NEED_CTF_QSORT_R
+libctf_a_SOURCES += ctf-qsort_r.c
+endif