aboutsummaryrefslogtreecommitdiff
path: root/libgrust/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'libgrust/Makefile.am')
-rw-r--r--libgrust/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/libgrust/Makefile.am b/libgrust/Makefile.am
index 5b38c88..7a4512c 100644
--- a/libgrust/Makefile.am
+++ b/libgrust/Makefile.am
@@ -11,7 +11,11 @@ TOP_GCCDIR := $(shell cd $(top_srcdir) && cd .. && pwd)
GCC_DIR = $(TOP_GCCDIR)/gcc
RUST_SRC = $(GCC_DIR)/rust
-SUBDIRS = libproc_macro_internal
+SUBDIRS =
+if !TARGET_LIBRARY
+SUBDIRS += libformat_parser
+endif
+SUBDIRS += libproc_macro_internal
RUST_BUILDDIR := $(shell pwd)