summaryrefslogtreecommitdiff
path: root/Makefile-switchroot.am
diff options
context:
space:
mode:
authorWilliam Manley <will@williammanley.net>2016-08-31 17:25:22 +0100
committerAtomic Bot <atomic-devel@projectatomic.io>2016-09-01 20:17:58 +0000
commit4d3b93e2ad1041fa36e740cba35284d17752e928 (patch)
tree57f1a20f967f75658fe96a4884f9f93a95c6980b /Makefile-switchroot.am
parent39918179d1e1bb8bc8708695f63525e511cfb8f0 (diff)
downloadostree-4d3b93e2ad1041fa36e740cba35284d17752e928.tar.gz
switchroot: Fix build on Ubuntu
Was failing with error: src/switchroot/ostree-prepare-root.c:30:20: fatal error: config.h: No such file or directory compilation terminated. Reported by and fix provided by @gatispaeglis. Closes: #485 Approved by: cgwalters
Diffstat (limited to 'Makefile-switchroot.am')
-rw-r--r--Makefile-switchroot.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile-switchroot.am b/Makefile-switchroot.am
index 9c215e44..0b30a965 100644
--- a/Makefile-switchroot.am
+++ b/Makefile-switchroot.am
@@ -38,7 +38,7 @@ if BUILDOPT_USE_STATIC_COMPILER
ostree_boot_SCRIPTS = ostree-prepare-root
ostree-prepare-root : $(ostree_prepare_root_SOURCES)
- $(STATIC_COMPILER) -o $@ -static $(ostree_prepare_root_SOURCES) $(AM_CPPFLAGS) $(AM_CFLAGS)
+ $(STATIC_COMPILER) -o $@ -static $(ostree_prepare_root_SOURCES) $(AM_CPPFLAGS) $(AM_CFLAGS) $(DEFAULT_INCLUDES)
else
ostree_boot_PROGRAMS += ostree-prepare-root