[msitools: 1/2] build-sys: add missing GObject libs to LDFLAGS
- From: Marc-André Lureau <malureau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [msitools: 1/2] build-sys: add missing GObject libs to LDFLAGS
- Date: Wed, 6 Mar 2019 10:38:02 +0000 (UTC)
commit 744289a1bf1ea85eced567daef5034ca66d78016
Author: Alberto Mardegan <mardy users sourceforge net>
Date: Thu Oct 26 22:36:00 2017 +0300
build-sys: add missing GObject libs to LDFLAGS
The project wouldn't build without these under Ubuntu 16.04.
Signed-off-by: Alberto Mardegan <mardy users sourceforge net>
Makefile.am | 2 +-
tests/Makefile.am | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 0685e3b..dcf6498 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -39,7 +39,7 @@ msibuild_LDADD = -lmsi $(GLIB_LIBS) $(GSF_LIBS) $(UUID_LIBS)
msibuild_DEPENDENCIES = libmsi/libmsi.la
msiinfo_SOURCES = tools/msiinfo.c
-msiinfo_LDADD = -lmsi $(GLIB_LIBS) $(GSF_LIBS)
+msiinfo_LDADD = -lmsi $(GLIB_LIBS) $(GSF_LIBS) $(GOBJECT_LIBS)
msiinfo_DEPENDENCIES = libmsi/libmsi.la
# msiextract
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 5eee60d..8cdf841 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -5,9 +5,9 @@ dist_noinst_HEADERS = test.h
noinst_PROGRAMS = testrecord testdatabase
testrecord_SOURCES = testrecord.c
-testrecord_LDADD = ../libmsi/libmsi.la
+testrecord_LDADD = ../libmsi/libmsi.la $(GOBJECT_LIBS)
testdatabase_SOURCES = testdatabase.c
-testdatabase_LDADD = ../libmsi/libmsi.la
+testdatabase_LDADD = ../libmsi/libmsi.la $(GOBJECT_LIBS)
if WIN32
noinst_PROGRAMS += testsuminfo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]