[gtk/gtk-3-24] meson.build: Fix generating .pc files for Visual Studio
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24] meson.build: Fix generating .pc files for Visual Studio
- Date: Tue, 14 Jul 2020 06:16:51 +0000 (UTC)
commit 245c67c8c948a6bc4c7c75b78baea462958c52fb
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Tue Jul 14 14:14:26 2020 +0800
meson.build: Fix generating .pc files for Visual Studio
On Visual Studio, Cairo could have been found manually by looking for the .lib
files, and the previous update to fix this was incorrect, as it added the
libraries to the required packages instead of the required libraries. This
fixes this mishap
meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index 945c5de87b..ff26b7a13a 100644
--- a/meson.build
+++ b/meson.build
@@ -883,12 +883,12 @@ cairo_packages = ''
if cairo_pkg_found
cairo_packages += ' '.join([ ' cairo', cairo_req ])
elif cc.get_id() == 'msvc' and cairo_dep.found()
- cairo_packages += ' '.join([ ' -lcairo' ])
+ cairo_libs += '-lcairo'
endif
if cairogobj_pkg_found
cairo_packages += ' '.join([ ' cairo-gobject', cairo_req ])
elif cc.get_id() == 'msvc' and cairogobj_dep.found()
- cairo_packages += ' '.join([ ' -lcairo-gobject' ])
+ cairo_libs += '-lcairo-gobject'
endif
gdk_packages += cairo_packages
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]