summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2016-11-15 12:39:16 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2016-11-15 12:40:54 +0800
commit3e173e5e8d596d35a8542db7c8a14cb8f8f2e87c (patch)
treec89b922a1ffe5b626c9ddc5d308ddad6da4c26ea
parentfa98b9c23aea244b97b893d5ecc0190fa4b4cdf8 (diff)
downloadpango-3e173e5e8d596d35a8542db7c8a14cb8f8f2e87c.tar.gz
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.
-rw-r--r--build/win32/pangopc.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/win32/pangopc.py b/build/win32/pangopc.py
index c5c27f35..14eac3f3 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)