summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/freetype/freetype-2.3.6/libtool-tag.patch20
-rw-r--r--packages/freetype/freetype_2.3.6.bb1
2 files changed, 21 insertions, 0 deletions
diff --git a/packages/freetype/freetype-2.3.6/libtool-tag.patch b/packages/freetype/freetype-2.3.6/libtool-tag.patch
new file mode 100644
index 0000000000..2f096cdd46
--- /dev/null
+++ b/packages/freetype/freetype-2.3.6/libtool-tag.patch
@@ -0,0 +1,20 @@
+--- freetype-2.3.6/builds/unix/unix-cc.in
++++ freetype-2.3.6/builds/unix/unix-cc.in
+@@ -88,7 +88,7 @@
+ #
+ #
+ CCraw := $(CC)
+-CC := $(LIBTOOL) --mode=compile $(CCraw)
++CC := $(LIBTOOL) --tag=CC --mode=compile $(CCraw)
+
+ # Linker flags.
+ #
+@@ -105,7 +105,7 @@
+
+ # Library linking
+ #
+-LINK_LIBRARY = $(LIBTOOL) --mode=link $(CCraw) -o $@ $(OBJECTS_LIST) \
++LINK_LIBRARY = $(LIBTOOL) --tag=CC --mode=link $(CCraw) -o $@ $(OBJECTS_LIST) \
+ -rpath $(libdir) -version-info $(version_info) \
+ $(LDFLAGS) -no-undefined \
+ # -export-symbols $(EXPORTS_LIST)
diff --git a/packages/freetype/freetype_2.3.6.bb b/packages/freetype/freetype_2.3.6.bb
index 516354ad23..eca74c0ce2 100644
--- a/packages/freetype/freetype_2.3.6.bb
+++ b/packages/freetype/freetype_2.3.6.bb
@@ -7,6 +7,7 @@ SRC_URI = "\
${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \
file://no-hardcode.patch;patch=1 \
file://fix-configure.patch;patch=1 \
+ file://libtool-tag.patch;patch=1 \
"
S = "${WORKDIR}/freetype-${PV}"