[oe-commits] org.oe.dev freetype: fix to add --tag=CC to libtool commands

polyonymous commit oe at amethyst.openembedded.net
Mon Sep 1 18:21:23 UTC 2008


freetype: fix to add --tag=CC to libtool commands
Thanks to Hans-Christoph Steiner of oe bug #4504

Author: polyonymous at openembedded.org
Branch: org.openembedded.dev
Revision: 704c652447ad25124b4af7103ee48137c5db36b2
ViewMTN: http://monotone.openembedded.org/revision/info/704c652447ad25124b4af7103ee48137c5db36b2
Files:
1
packages/freetype/freetype-2.3.6/libtool-tag.patch
packages/freetype/freetype_2.3.6.bb
Diffs:

#
# mt diff -re63935fd12902455ffcc663d19534fecb84c9912 -r704c652447ad25124b4af7103ee48137c5db36b2
#
#
#
# add_file "packages/freetype/freetype-2.3.6/libtool-tag.patch"
#  content [b8213e2cd332b83b78803115d4ad40f39c2aeed0]
# 
# patch "packages/freetype/freetype_2.3.6.bb"
#  from [21f3efc48ae907a7f2b894a59accfeb216990350]
#    to [a673fe4dbded2a5c55d88e9fa3b3b372938660f3]
#
============================================================
--- packages/freetype/freetype-2.3.6/libtool-tag.patch	b8213e2cd332b83b78803115d4ad40f39c2aeed0
+++ packages/freetype/freetype-2.3.6/libtool-tag.patch	b8213e2cd332b83b78803115d4ad40f39c2aeed0
@@ -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)
============================================================
--- packages/freetype/freetype_2.3.6.bb	21f3efc48ae907a7f2b894a59accfeb216990350
+++ packages/freetype/freetype_2.3.6.bb	a673fe4dbded2a5c55d88e9fa3b3b372938660f3
@@ -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}"
 






More information about the Openembedded-commits mailing list