2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-01 18:44:07 +00:00
nixpkgs/pkgs/development/libraries/memstream/setup-hook.sh
2021-08-24 18:21:40 -04:00

7 lines
213 B
Bash

useMemstream () {
export NIX_CFLAGS_COMPILE="${NIX_CFLAGS_COMPILE-}${NIX_CFLAGS_COMPILE:+ }-include memstream.h";
export NIX_LDFLAGS="${NIX_LDFLAGS-}${NIX_LDFLAGS:+ }-lmemstream";
}
postHooks+=(useMemstream)