hardened_malloc/make-helper-overrides.bsh
Patrick Schleizer b3b5e5d21d
add SONAME - https://github.com/GrapheneOS/hardened_malloc/issues/86
use correct Section: libs rather than misc

compatiblity with dh_dwz / dwz - https://github.com/GrapheneOS/hardened_malloc/issues/85

move to sub folder /usr/lib/libhardened_malloc.so so lintian will not complain
about non-versioned shared objects and missing symlinks. That extra complexity
is not needed here since this lib aims to be compatible with what it replaces.

full path is now /usr/lib/libhardened_malloc.so/libhardened_malloc.so

deprecate no longer needed make_all_hook_post as this was improved in genmkfile
2019-07-28 19:20:03 +00:00

12 lines
362 B
Bash
Executable file

#!/bin/bash
## Copyright (C) 2016 - 2016 Patrick Schleizer <adrelanos@riseup.net>
## See the file COPYING for copying conditions.
make_install_hook_post() {
if [ ! -d "$DESTDIR/usr/lib" ]; then
mkdir --parents "$DESTDIR/usr/lib/libhardened_malloc.so"
fi
cp libhardened_malloc.so "$DESTDIR/usr/lib/libhardened_malloc.so/libhardened_malloc.so"
}