summaryrefslogtreecommitdiff
path: root/packages/tcltk/files
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-09-25 14:28:40 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-25 14:28:40 +0000
commitc5ad04d9323ce0152ec164ec4f38af0004ed1b0d (patch)
tree706f666231160ae1211b1be0ddffa4e6541942bc /packages/tcltk/files
parent77dede6a85eb8aef312802c3029c27b7f5bf0720 (diff)
tcl/tk: add SONAME patches, ship .so in $PN, not $PN-dev
Diffstat (limited to 'packages/tcltk/files')
-rw-r--r--packages/tcltk/files/tcl-add-soname.patch12
-rw-r--r--packages/tcltk/files/tk-add-soname.patch12
2 files changed, 24 insertions, 0 deletions
diff --git a/packages/tcltk/files/tcl-add-soname.patch b/packages/tcltk/files/tcl-add-soname.patch
new file mode 100644
index 0000000000..fe02736005
--- /dev/null
+++ b/packages/tcltk/files/tcl-add-soname.patch
@@ -0,0 +1,12 @@
+diff -u tcl8.3.5/unix/tcl.m4~ tcl8.3.5/unix/tcl.m4
+--- unix/tcl.m4~ 2003-01-14 20:42:53.000000000 +0900
++++ unix/tcl.m4 2003-01-14 20:42:53.000000000 +0900
+@@ -954,7 +954,7 @@
+ CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
+
+ if test "$have_dl" = yes; then
+- SHLIB_LD="${CC} -shared"
++ SHLIB_LD='${CC} -shared -Wl,-soname,${@}'
+ DL_OBJS="tclLoadDl.o"
+ DL_LIBS="-ldl"
+ LDFLAGS="-rdynamic"
diff --git a/packages/tcltk/files/tk-add-soname.patch b/packages/tcltk/files/tk-add-soname.patch
new file mode 100644
index 0000000000..31702ca2a9
--- /dev/null
+++ b/packages/tcltk/files/tk-add-soname.patch
@@ -0,0 +1,12 @@
+diff -u tk8.3.5/unix/tcl.m4~ tk8.3.5/unix/tcl.m4
+--- unix/tcl.m4~ 2003-01-14 21:22:12.000000000 +0900
++++ unix/tcl.m4 2003-01-14 21:22:12.000000000 +0900
+@@ -949,7 +949,7 @@
+ CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
+
+ if test "$have_dl" = yes; then
+- SHLIB_LD="${CC} -shared"
++ SHLIB_LD='${CC} -shared -Wl,-soname,${@}'
+ DL_OBJS="tclLoadDl.o"
+ DL_LIBS="-ldl"
+ LDFLAGS="-rdynamic"