From 7573f17839e92e9eec191510d4003a10c2d0fefa Mon Sep 17 00:00:00 2001 From: Simon McVittie <smcv@collabora.com> Date: Wed, 8 Nov 2017 18:33:45 +0000 Subject: [PATCH] mkstublib: Drop support for having a .dlopen file again This was superseded by #include <capsule/_int_dlopen.h> (which can either be in-tree or provided by libcapsule) in commit 7d34220d. Signed-off-by: Simon McVittie <smcv@collabora.com> --- data/capsule-mkstublib | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/data/capsule-mkstublib b/data/capsule-mkstublib index f89c35607..91c02eea0 100755 --- a/data/capsule-mkstublib +++ b/data/capsule-mkstublib @@ -173,12 +173,6 @@ then symbol_file=${proxy_src%.c}.symbols; fi -if [ -z "${dlopen_file:-}" ]; -then - # This is mandatory, so no test -f here - dlopen_file=${proxy_src}.dlopen; -fi - sharedir=$($PKG_CONFIG --variable=makeinc capsule) exec >$proxy_src.tmp; @@ -302,22 +296,6 @@ capsule_metadata capsule_meta = .items = relocs, }; -EOF - -if [ -f ${dlopen_file} ]; -then - cat - <<EOF -// ------------------------------------------------------------- -// start of ${proxy_src%.c} dlopen wrapper -EOF - cat $dlopen_file; - cat - <<EOF -// end of ${proxy_src%.c} dlopen wrapper -// ------------------------------------------------------------- -EOF -fi - -cat - <<EOF static void __attribute__ ((constructor)) _capsule_init (void) { int capsule_errno = 0; -- GitLab