Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
cf-upgrade: Fix out of tree builds
Building cfengine core out of the source tree fails with this error:

Making all in cf-upgrade
  CC       process.o
../../../../cf-upgrade/process.c:25:22: fatal error:
 platform.h: No such file or directory
 #include <platform.h>
                      ^
compilation terminated.
Makefile:513: recipe for target 'process.o' failed

After adding the missing include path to CPPFLAGS, the build
finishes successfully.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Jan 9, 2015
1 parent 8fa83a4 commit 8c7794d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cf-upgrade/Makefile.am
Expand Up @@ -25,7 +25,7 @@ sbin_PROGRAMS = cf-upgrade

LIBS= # This tool should not link to anything
AM_LDFLAGS=
AM_CPPFLAGS=
AM_CPPFLAGS=-I$(top_srcdir)/libutils # platform.h

LDADD=../libcompat/libcompat.la

Expand Down

0 comments on commit 8c7794d

Please sign in to comment.