From f45e9f03da995fbb870155013b3d4037cf0aeff2 Mon Sep 17 00:00:00 2001
From: Sergei Reznikov <diver@gelios.net>
Date: Mon, 13 Apr 2015 15:08:26 +0300
Subject: Fix stdc++ in Jamfiles


diff --git a/Jamfile-vncpasswd b/Jamfile-vncpasswd
index e3e895e..04159e4 100644
--- a/Jamfile-vncpasswd
+++ b/Jamfile-vncpasswd
@@ -53,7 +53,7 @@ RSRCS = beosserver/vncpasswd.rsrc ;
 # Note that libnetwork.so in Haiku is called libnet.so in BeOS, so make a symbolic link
 # in /boot/develop/lib/x86/ to give it both names when compiling under BeOS.  Same
 # for libstdc++.r4.so and libstdc++.so being the same.
-LIBS = be root stdc++ ;
+LIBS = be root $(STDCPPLIBS) ;
 
 # Specify additional paths to directories following the standard
 #	libXXX.so or libXXX.a naming scheme.  You can specify full paths
diff --git a/Jamfile-vncserver b/Jamfile-vncserver
index 04c5bdf..965ea68 100644
--- a/Jamfile-vncserver
+++ b/Jamfile-vncserver
@@ -116,7 +116,7 @@ RSRCS = beosserver/VNCServer.rsrc ;
 # Note that libnetwork.so in Haiku is called libnet.so in BeOS, so make a symbolic link
 # in /boot/develop/lib/x86/ to give it both names when compiling under BeOS.  Same
 # for libstdc++.r4.so and libstdc++.so being the same.
-LIBS = be root network game z stdc++ ;
+LIBS = be root network game z $(STDCPPLIBS) ;
 
 # Specify additional paths to directories following the standard
 #	libXXX.so or libXXX.a naming scheme.  You can specify full paths
-- 
2.2.2

