Skip to content
Snippets Groups Projects
Commit 7573f178 authored by Simon McVittie's avatar Simon McVittie
Browse files

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: default avatarSimon McVittie <smcv@collabora.com>
parent aaedf0c9
Branches
Tags
1 merge request!311Build capsule-capture-libs from a bundled copy of libcapsule
...@@ -173,12 +173,6 @@ then ...@@ -173,12 +173,6 @@ then
symbol_file=${proxy_src%.c}.symbols; symbol_file=${proxy_src%.c}.symbols;
fi 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) sharedir=$($PKG_CONFIG --variable=makeinc capsule)
exec >$proxy_src.tmp; exec >$proxy_src.tmp;
...@@ -302,22 +296,6 @@ capsule_metadata capsule_meta = ...@@ -302,22 +296,6 @@ capsule_metadata capsule_meta =
.items = relocs, .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) static void __attribute__ ((constructor)) _capsule_init (void)
{ {
int capsule_errno = 0; int capsule_errno = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment