Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / memstream / setup-hook.sh
blob09aabe748841151d5ab7da6b1e8f0a7b58a74fb0
1 useMemstream () {
2 export NIX_CFLAGS_COMPILE="${NIX_CFLAGS_COMPILE-}${NIX_CFLAGS_COMPILE:+ }-include memstream.h";
3 export NIX_LDFLAGS="${NIX_LDFLAGS-}${NIX_LDFLAGS:+ }-lmemstream";
6 postHooks+=(useMemstream)