configure: if using internal libfetch, also link to libssl.

This commit is contained in:
Juan RP 2013-02-02 01:30:44 +01:00
parent b3da4a2bf2
commit 0d2bd8acdc

1
configure vendored
View File

@ -487,6 +487,7 @@ if $XCC -lfetch _$func.c -o _$func 2>/dev/null; then
else else
LIBFETCH=no LIBFETCH=no
echo "CPPFLAGS += -I\$(TOPDIR)/lib/fetch" >>$CONFIG_MK echo "CPPFLAGS += -I\$(TOPDIR)/lib/fetch" >>$CONFIG_MK
echo "LDFLAGS += -lssl" >>$CONFIG_MK
echo "STATIC_LIBS = \$(TOPDIR)/lib/libxbps.a" >>$CONFIG_MK echo "STATIC_LIBS = \$(TOPDIR)/lib/libxbps.a" >>$CONFIG_MK
fi fi
rm -f _$func.c _$func rm -f _$func.c _$func