Fix OS4 static (non-Cairo) build

svn path=/trunk/netsurf/; revision=10808
This commit is contained in:
Chris Young 2010-09-21 17:58:30 +00:00
parent 6124966ab9
commit 40a530e99e
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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";
}