Mercurial > pub > dyncall > dyncall
comparison test/dynload_plain/Makefile.generic @ 273:883e15fca895
- make portability fix
author | Tassilo Philipp |
---|---|
date | Fri, 29 Dec 2017 23:38:35 +0100 |
parents | a94a9a83dae6 |
children | 5c8eb8f34ae6 |
comparison
equal
deleted
inserted
replaced
272:a94a9a83dae6 | 273:883e15fca895 |
---|---|
1 # path to default libc.so file, easier to do via shell than in code (see main() in dynload_plain.c) | 1 # path to default libc.so file, easier to do via shell than in code (see main() in dynload_plain.c) |
2 # for compat: first gmake style, then assignment op which will use ! as part of var name on gmake<4 | |
3 # and thus not override previously set var | |
4 DEF_C_DYLIB=$(shell ls /lib*/libc.so* | sort -V -r | head -1) | |
2 DEF_C_DYLIB!=ls /lib*/libc.so* | sort -V -r | head -1 | 5 DEF_C_DYLIB!=ls /lib*/libc.so* | sort -V -r | head -1 |
3 | 6 |
4 APP = dynload_plain | 7 APP = dynload_plain |
5 OBJS = dynload_plain.o | 8 OBJS = dynload_plain.o |
6 SRCTOP = ${VPATH}/../.. | 9 SRCTOP = ${VPATH}/../.. |