Use the autodetected LDFLAGS with curl