diff options
author | Daniel Gustafsson <daniel@yesql.se> | 2019-04-11 09:22:22 +0200 |
---|---|---|
committer | Daniel Gustafsson <daniel@yesql.se> | 2019-04-11 09:22:22 +0200 |
commit | 06ace0ba98d8d147f20c93fc34aa9a2457530004 (patch) | |
tree | 177f7a8438c394c3b03834a493a1b439ebff72f1 /lib/hmac.c | |
parent | 166ace8be017a9e53bbf20c469ccd32c430cdea6 (diff) |
xattr: skip unittest on unsupported platforms
The stripcredentials unittest fails to compile on platforms without
xattr support, for example the Solaris member in the buildfarm which
fails with the following:
CC unit1621-unit1621.o
CC ../libtest/unit1621-first.o
CCLD unit1621
Undefined first referenced
symbol in file
stripcredentials unit1621-unit1621.o
goto problem 2
ld: fatal: symbol referencing errors. No output written to .libs/unit1621
collect2: error: ld returned 1 exit status
gmake[2]: *** [Makefile:996: unit1621] Error 1
Fix by excluding the test on such platforms by using the reverse
logic from where stripcredentials() is defined.
Closes #3759
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
Diffstat (limited to 'lib/hmac.c')
0 files changed, 0 insertions, 0 deletions