mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 10:16:41 +00:00
make: config -- Allow to pass libraries in try-cc
For libbsd testing. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
69a6bf4439
commit
5f00a9ca40
1 changed files with 1 additions and 1 deletions
|
|
@ -3,5 +3,5 @@
|
|||
try-cc = $(shell sh -c \
|
||||
'TMP="$(OUTPUT)$(TMPOUT).$$$$"; \
|
||||
echo "$(1)" | \
|
||||
$(CC) $(DEFINES) -x c - $(2) -o "$$TMP" > /dev/null 2>&1 && echo y; \
|
||||
$(CC) $(DEFINES) -x c - $(2) $(3) -o "$$TMP" > /dev/null 2>&1 && echo y; \
|
||||
rm -f "$$TMP"')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue