Skip to content

Build relocatable versions of tools

Simon McVittie requested to merge smcv/libcapsule:relocatable-tools into master

debian: Install tools with canonicalized multiarch prefix

Create a symlink with $(DEB_HOST_GNU_TYPE) in the name for compatibility with AC_CHECK_TOOL.

(For example this produces a file /usr/bin/i686-linux-gnu-capsule-capture-libs and a symlink /usr/bin/i686-linux-gnu-capsule-capture-libs -> i386-linux-gnu-capsule-capture-libs on recent Debian/Ubuntu i386)


debian: Build relocatable versions of libcapsule binary tools

When built on a system with the oldest glibc version that is to be supported, these tools are suitable for bundling in projects that need to run on an arbitrary host system and make use of libcapsule when preparing a container.

(It's easier to make these part of a package, for example built for SteamRT 'scout' or 'heavy', than to build them separately.)

/cc @vivek @kanashiro

Merge request reports