diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | amiga/download.c | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -526,8 +526,8 @@ ifeq ($(TARGET),amiga) $(eval $(call feature_enabled,MNG,,-llcms -ljpeg,PNG/JNG/MNG (libmng))) CFLAGS += -D__USE_INLINE__ -std=c99 -I . -I /SDK/local/common/include/libpng12 -Dnsamiga - LDFLAGS += -lxml2 -lcurl -lpthread -lregex -liconv -lauto - LDFLAGS += -lssl -lcrypto -lhubbub -lcss -lparserutils -lwapcaplet + LDFLAGS += -lxml2 -lcurl -lpthread -lregex -lauto + LDFLAGS += -lssl -lcrypto -lhubbub -lcss -lparserutils -lwapcaplet -liconv ifeq ($(NETSURF_AMIGA_USE_CAIRO),YES) CFLAGS += -DNS_AMIGA_CAIRO -I /SDK/local/common/include/cairo diff --git a/amiga/download.c b/amiga/download.c index f9ea96194..e6302a842 100644 --- a/amiga/download.c +++ b/amiga/download.c @@ -347,11 +347,13 @@ void gui_drag_save_object(gui_save_type type, hlcache_handle *c, filetype = "drawer"; break; case GUI_SAVE_OBJECT_NATIVE: +#ifdef WITH_NS_SVG if(content_get_type(c) == CONTENT_SVG) { filetype = "dr2d"; } else +#endif { filetype = "ilbm"; } |