From 1a170f9f322416e14b0b11b999b61efa6bcdf8fe Mon Sep 17 00:00:00 2001 From: Chris Young Date: Mon, 8 Apr 2019 18:44:44 +0100 Subject: Re-instate accidental removal of pkg-config for curl/openssl --- frontends/amiga/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'frontends') diff --git a/frontends/amiga/Makefile b/frontends/amiga/Makefile index b71ae3cf9..421be0ece 100644 --- a/frontends/amiga/Makefile +++ b/frontends/amiga/Makefile @@ -17,16 +17,18 @@ $(eval $(call feature_enabled,AMISSL,-DWITH_AMISSL -D__NO_NET_API -D__NO_NETINCL CFLAGS += -I$(GCCSDK_INSTALL_ENV)/include CFLAGS += $(shell $(PKG_CONFIG) --cflags tre) -#LDFLAGS += $(shell $(PKG_CONFIG) --static --libs libcurl openssl) +LDFLAGS += $(shell $(PKG_CONFIG) --static --libs libcurl) LDFLAGS += $(shell $(PKG_CONFIG) --libs tre) LDFLAGS += -L$(GCCSDK_INSTALL_ENV)/lib LDFLAGS += -lpbl -liconv +ifeq ($(NETSURF_USE_OPENSSL),YES) + LDFLAGS += $(shell $(PKG_CONFIG) --static --libs openssl) +endif + ifeq ($(SUBTARGET),os3) LDFLAGS += -lamiga -lm -else - LDFLAGS += -lpthread endif EXETARGET := NetSurf -- cgit v1.2.3