64bit Image uses libraries from /usr/lib64 (from _libdir macro)
This patch is correction for that.
Change-Id: I3810334e947002596cb13a45fbce1df78d7897e7
-Wall \
-I$(srcdir) \
`pkg-config --cflags $(libs)` \
+ -DDEFAULT_CONFIG_FILE="\"$(DEFAULT_CONFIG_FILE)\"" \
-D_GNU_SOURCE \
-fPIE
cp %{SOURCE1} ./%{name}.manifest
%build
-make stability-monitor
+make stability-monitor DEFAULT_CONFIG_FILE=%{_libdir}/stability-monitor/default.conf
+
make -C tests all
%install
#include "raw_data.h"
#include "data_source.h"
-#define DEFAULT_CONFIG_FILE "/usr/lib/stability-monitor/default.conf"
#define USER_CONFIG_DIR "/etc/stability-monitor.d"
cleanup();
return 0;
-}
\ No newline at end of file
+}