[pango] Visual Studio builds: Remove -lm from .pc files



commit 3e173e5e8d596d35a8542db7c8a14cb8f8f2e87c
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Tue Nov 15 12:39:16 2016 +0800

    Visual Studio builds: Remove -lm from .pc files
    
    We don't have a separate math library for Visual Studio, so don't try to
    link to one in the .pc files.

 build/win32/pangopc.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/build/win32/pangopc.py b/build/win32/pangopc.py
index c5c27f3..14eac3f 100644
--- a/build/win32/pangopc.py
+++ b/build/win32/pangopc.py
@@ -23,7 +23,8 @@ def main(argv):
                               const=1,
                               help='Create .pc for PangoFT2')
     base_pc.setup(argv, pango_parser)
-    base_pkg_replace_items = {'@PANGO_API_VERSION@': '1.0'}
+    base_pkg_replace_items = {'@PANGO_API_VERSION@': '1.0',
+                              '-lm': ''}
 
     base_pkg_replace_items.update(base_pc.base_replace_items)
 


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