  	$(Q)$(BEOS_MIMESET) $(EXETARGET)
  endif
 diff --git a/beos/Makefile.target b/beos/Makefile.target
-index b1d1eaa..958fc62 100644
+index b1d1eaa..4df489a 100644
 --- a/beos/Makefile.target
 +++ b/beos/Makefile.target
 @@ -9,8 +9,10 @@

     NETLDFLAGS := -lnetwork
   endif
-  LDFLAGS += -lbe -ltranslation $(NETLDFLAGS)
+  LDFLAGS += -lbe -ltranslation $(NETLDFLAGS) -lstdc++ -lsupc++
 
-  $(eval $(call feature_enabled,NSSVG,-DWITH_NS_SVG,-lsvgtiny,SVG (libsvgtiny)))
   ifeq ($(HOST),beos)

 			}
 			pos += BPoint(20, 20);
 			BScreen screen;
@@ -2038,14 +2168,13 @@ nsbeos_scaffolding *nsbeos_new_scaffolding(struct gui_window *toplevel)
 	rect = g->top_view->Bounds();
 	rect.bottom = rect.top + TOOLBAR_HEIGHT - 1;
 	rect.right = rect.right - DRAGGER_WIDTH;
