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