fix(xcrypt) (#1526)

* fix(xcrypt)

* disable symvers
This commit is contained in:
Jacob Heider 2023-04-21 03:15:06 -04:00 committed by GitHub
parent 7d544acfde
commit 759cf2afc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,13 +18,14 @@ build:
ARGS:
- --prefix="{{prefix}}"
- --disable-valgrind
- --disable-symvers
- --disable-failure-tokens
test:
dependencies:
tea.xyz/gx/cc: c99
script: |
cc fixture.c -lcrypt -L{{prefix}}/lib
cc -L{{prefix}}/lib -lcrypt fixture.c
./a.out
# ^^ we nee to add the -L because system lib paths come first on Linux
# and most linuxes have a (arcaic) libcrypt.so in /lib