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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It fixes "make check" in a VPATH build

Signed-off-by: Giuseppe Scrivano <gscrivan@xxxxxxxxxx>
---
 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

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux