]> git.sesse.net Git - vlc/commitdiff
contrib: fix harfbuzz linking flags on win32
authorRafaël Carré <funman@videolan.org>
Thu, 13 Sep 2012 14:23:10 +0000 (16:23 +0200)
committerRafaël Carré <funman@videolan.org>
Thu, 13 Sep 2012 14:25:38 +0000 (16:25 +0200)
contrib/src/harfbuzz/rules.mak
contrib/src/harfbuzz/win32.patch [new file with mode: 0644]

index 0973b13a3d59e82657153197a0bc1bf4c55da518..6b35342b24378958dd25d5e3a4019470897403e2 100644 (file)
@@ -14,6 +14,9 @@ $(TARBALLS)/harfbuzz-$(HARFBUZZ_VERSION).tar.bz2:
 
 harfbuzz: harfbuzz-$(HARFBUZZ_VERSION).tar.bz2 .sum-harfbuzz
        $(UNPACK)
+ifdef HAVE_WIN32
+       $(APPLY) $(SRC)/harfbuzz/win32.patch
+endif
 ifdef HAVE_MACOSX
        $(APPLY) $(SRC)/harfbuzz/harfbuzz-osx.patch
 endif
diff --git a/contrib/src/harfbuzz/win32.patch b/contrib/src/harfbuzz/win32.patch
new file mode 100644 (file)
index 0000000..4b49fc4
--- /dev/null
@@ -0,0 +1,9 @@
+--- harfbuzz/harfbuzz.pc.in.orig       2012-09-13 16:21:46.883843416 +0200
++++ harfbuzz/harfbuzz.pc.in    2012-09-13 16:21:54.771843345 +0200
+@@ -7,5 +7,5 @@
+ Description: Text shaping library
+ Version: @VERSION@
+-Libs: -L${libdir} -lharfbuzz
++Libs: -L${libdir} -lharfbuzz -lusp10 -lgdi32
+ Cflags: -I${includedir}/harfbuzz