This commit is contained in:
Jacob Heider 2023-04-21 02:38:47 -04:00
parent 5a53b094fe
commit 34394e8a94
No known key found for this signature in database
GPG key ID: 59D15ADC7DCD39BB
2 changed files with 3 additions and 2 deletions

View file

@ -14,13 +14,13 @@ dependencies:
kerberos.org: ^1.20 kerberos.org: ^1.20
sqlite.org: ^3 sqlite.org: ^3
zlib.net: ^1.2 zlib.net: ^1.2
apache.org/apr-util: ^1
build: build:
dependencies: dependencies:
freedesktop.org/pkg-config: ^0.29 freedesktop.org/pkg-config: ^0.29
tea.xyz/gx/cc: c99 tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*' tea.xyz/gx/make: '*'
apache.org/apr-util: ^1
apache.org/apr: ^1 apache.org/apr: ^1
swig.org: ^4 swig.org: ^4
python.org: ^3.11 python.org: ^3.11

View file

@ -24,7 +24,8 @@ test:
dependencies: dependencies:
tea.xyz/gx/cc: c99 tea.xyz/gx/cc: c99
script: | script: |
cc fixture.c -lcrypt -L{{prefix}}/lib nm -D {{prefix}}/lib/libcrypt.so
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