[Libosinfo] [PATCH] build: specify the full path to libosinfo.syms

Giuseppe Scrivano gscrivan at redhat.com
Sat Dec 14 14:42:05 UTC 2013


It fixes "make check" in a VPATH build

Signed-off-by: Giuseppe Scrivano <gscrivan at redhat.com>
---
 osinfo/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/osinfo/Makefile.am b/osinfo/Makefile.am
index 853f7cf..80fa1e2 100644
--- a/osinfo/Makefile.am
+++ b/osinfo/Makefile.am
@@ -155,14 +155,14 @@ osinfo_enum_types.c: $(OSINFO_HEADER_FILES) osinfo_enum_types.c.template osinfo_
 # rule for libosinfo.la.  However, checking symbols relies on Linux ELF layout
 if WITH_LINUX
 check-symfile: libosinfo.syms libosinfo-1.0.la
-	$(AM_V_GEN)$(PERL) $(srcdir)/check-symfile.pl libosinfo.syms \
+	$(AM_V_GEN)$(PERL) $(srcdir)/check-symfile.pl $(srcdir)/libosinfo.syms \
 	  .libs/libosinfo-1.0.so
 else ! WITH_LINUX
 check-symfile:
 endif ! WITH_LINUX
 check-symsorting:
 	$(AM_V_GEN)$(PERL) $(srcdir)/check-symsorting.pl \
-		$(srcdir) libosinfo.syms
+		$(srcdir) $(srcdir)/libosinfo.syms
 EXTRA_DIST += check-symfile.pl check-symsorting.pl
 
 check-local: check-symfile check-symsorting
-- 
1.8.3.1




More information about the Libosinfo mailing list