Mercurial > pub > dyncall > dyncall
changeset 273:883e15fca895
- make portability fix
author | Tassilo Philipp |
---|---|
date | Fri, 29 Dec 2017 23:38:35 +0100 |
parents | a94a9a83dae6 |
children | 5c8eb8f34ae6 |
files | test/dynload_plain/Makefile.generic |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/test/dynload_plain/Makefile.generic Fri Dec 29 21:19:07 2017 +0100 +++ b/test/dynload_plain/Makefile.generic Fri Dec 29 23:38:35 2017 +0100 @@ -1,4 +1,7 @@ # path to default libc.so file, easier to do via shell than in code (see main() in dynload_plain.c) +# for compat: first gmake style, then assignment op which will use ! as part of var name on gmake<4 +# and thus not override previously set var +DEF_C_DYLIB=$(shell ls /lib*/libc.so* | sort -V -r | head -1) DEF_C_DYLIB!=ls /lib*/libc.so* | sort -V -r | head -1 APP = dynload_plain