--- libelwix/configure 2024/08/19 12:57:46 1.69.2.2 +++ libelwix/configure 2024/08/19 15:40:12 1.69.2.3 @@ -3939,11 +3939,13 @@ fi if test "${ac_cv_env_CFLAGS_set}" != "set"; then - CFLAGS="-Wall -O2 -fPIC" + CFLAGS="-Wall -O2" else CFLAGS="${ac_cv_env_CFLAGS_value}" fi -LDFLAGS="${LDFLAGS}" +if test "${ac_cv_env_LDFLAGS_set}" = "set"; then + LDFLAGS="${ac_cv_env_LDFLAGS_value}" +fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5