[pkg-wine-party] [wine] 97/114: Add sonames2elf script by Jakub Wilk.

Jens Reyer jreyer-guest at moszumanska.debian.org
Thu Jun 16 17:25:30 UTC 2016

This is an automated email from the git hooks/post-receive script.

jreyer-guest pushed a commit to branch stretch
in repository wine.

commit 5781163af8da15466866e776238b4df60f823617
Author: Jens Reyer <jre.winesim at gmail.com>
Date:   Sun May 29 17:42:03 2016 +0200

    Add sonames2elf script by Jakub Wilk.
    This creates an ELF that depends on a given list of sonames. This
    may be used with dpkg-shlibdeps to calculate dependencies of
    libraries that are only used with dlopen.
 debian/scripts/sonames2elf | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/debian/scripts/sonames2elf b/debian/scripts/sonames2elf
new file mode 100755
index 0000000..651fed5
--- /dev/null
+++ b/debian/scripts/sonames2elf
@@ -0,0 +1,13 @@
+set -e -u
+if [ $# = 0 ] || tty <&1 >/dev/null
+    printf 'Usage: %s SONAME... > ELF\n' "$0"
+    exit 1
+tmpdir=$(mktemp -d -t sonames2elf.XXXXXX)
+cd "$tmpdir"
+printf 'INPUT(%s)\n' "$@" > libeverything.so
+gcc -shared -nostdlib -Wl,--no-as-needed -L. -leverything -o elf
+cat elf
+rm -rf "$tmpdir"

Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wine/wine.git

More information about the pkg-wine-party mailing list