mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-12-14 17:56:32 +01:00
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
12 lines
362 B
Bash
Executable file
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"
|
|
}
|
|
|