Create BSD wrapper for uuid
[babeltrace.git] / formats / ctf / metadata / Makefile.am
index 21ae12aaba1af7d2abd09bb5cb154b598a2ed1d8..a7f633d9b0f013476068674eeb050dbf6f8de8fc 100644 (file)
@@ -18,6 +18,13 @@ libctf_ast_la_SOURCES = ctf-visitor-xml.c \
 libctf_ast_la_LIBADD = \
        $(top_builddir)/lib/libbabeltrace.la
 
+if BABELTRACE_BUILD_WITH_LIBUUID
+libctf_ast_la_LIBADD += -luuid
+endif
+if BABELTRACE_BUILD_WITH_LIBC_UUID
+libctf_ast_la_LIBADD += -lc
+endif
+
 noinst_PROGRAMS = ctf-parser-test
 ctf_parser_test_SOURCES = ctf-parser-test.c
 
This page took 0.033077 seconds and 4 git commands to generate.