Commit 8e4835b3fb8fb238bcfbc8ef2f3c1062e1390c68

Thomas de Grivel 2023-08-19T15:05:05

libffi

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/libc3/configure b/libc3/configure
index e4987a7..551d76f 100755
--- a/libc3/configure
+++ b/libc3/configure
@@ -40,8 +40,7 @@ LIBS="${LIBS} -lm -pthread -rpath ${PREFIX}/lib"
 # Common config for all targets
 CFLAGS="$CFLAGS -W -Wall -Werror -std=c99 -pedantic -fPIC"
 CPPFLAGS="$CPPFLAGS -I../libffi/include"
-LDFLAGS="-L../libffi/.libs/ $LDFLAGS"
-LIBS="$LIBS -lffi"
+LIBS="../libffi/.libs/libffi.a"
 config_asan
 config_gnu
 pkg_config libbsd-overlay