summaryrefslogtreecommitdiff
path: root/frontends/amiga/Makefile
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2019-03-03 16:09:09 +0000
committerVincent Sanders <vince@kyllikki.org>2019-04-08 12:49:06 +0100
commit0a72449f4bf189cd2fb9e69d72fe582420957a21 (patch)
tree2a52911f03383822cd2ce0c8a89e3a9946501bb1 /frontends/amiga/Makefile
parent7c9066b49faed1a4f614a4f2a3f4f6462b377d25 (diff)
downloadnetsurf-0a72449f4bf189cd2fb9e69d72fe582420957a21.tar.gz
netsurf-0a72449f4bf189cd2fb9e69d72fe582420957a21.tar.bz2
Allow for building against AmiSSL instead of OpenSSL
Diffstat (limited to 'frontends/amiga/Makefile')
-rw-r--r--frontends/amiga/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/frontends/amiga/Makefile b/frontends/amiga/Makefile
index 858492203..b71ae3cf9 100644
--- a/frontends/amiga/Makefile
+++ b/frontends/amiga/Makefile
@@ -12,11 +12,12 @@ endif
$(eval $(call feature_enabled,AMIGA_ICON,-DWITH_AMIGA_ICON,,Amiga icon))
$(eval $(call feature_enabled,AMIGA_DATATYPES,-DWITH_AMIGA_DATATYPES,,DataTypes))
+$(eval $(call feature_enabled,AMISSL,-DWITH_AMISSL -D__NO_NET_API -D__NO_NETINCLUDE_ERRNO -I$(GCCSDK_INSTALL_ENV)/netinclude,-lamisslauto,AmiSSL))
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 openssl)
LDFLAGS += $(shell $(PKG_CONFIG) --libs tre)
LDFLAGS += -L$(GCCSDK_INSTALL_ENV)/lib
@@ -24,6 +25,8 @@ LDFLAGS += -lpbl -liconv
ifeq ($(SUBTARGET),os3)
LDFLAGS += -lamiga -lm
+else
+ LDFLAGS += -lpthread
endif
EXETARGET := NetSurf