summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMichael Krelin <hacker@klever.net>2008-08-22 18:21:21 +0000
committerMichael Krelin <hacker@klever.net>2008-08-22 18:21:21 +0000
commitd20454c164c207fea9b53769c13e0222fa184093 (patch)
treed851f7b8c731e6d30eae2da6c147963fa0947e07 /packages
parent395bad7a8b5c4131304e586c51c03289a3dbeab9 (diff)
freetype: fix to add --tag=CC to libtool commands
Thanks to Hans-Christoph Steiner of oe bug #4504
Diffstat (limited to 'packages')
-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}"