summaryrefslogtreecommitdiff
path: root/examples/IOStream/client/Makefile
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-02-06 03:02:47 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-02-06 03:02:47 +0000
commit8919f9d86e24602de0fa025e8dad53305c57cd4e (patch)
tree46c1a492be08f80ac7bfb8fe67c5f42aaee833a8 /examples/IOStream/client/Makefile
parent81a73e5b50bfe5ee45e7417c97d2d8d71870b116 (diff)
downloadATCD-8919f9d86e24602de0fa025e8dad53305c57cd4e.tar.gz
added -lg++ when building with gcc
Diffstat (limited to 'examples/IOStream/client/Makefile')
-rw-r--r--examples/IOStream/client/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/IOStream/client/Makefile b/examples/IOStream/client/Makefile
index fe48a7d2a30..887b7622748 100644
--- a/examples/IOStream/client/Makefile
+++ b/examples/IOStream/client/Makefile
@@ -27,6 +27,10 @@ include $(WRAPPER_ROOT)/include/makeinclude/rules.nonested.GNU
include $(WRAPPER_ROOT)/include/makeinclude/rules.bin.GNU
include $(WRAPPER_ROOT)/include/makeinclude/rules.local.GNU
+ifneq (,$(findstring gcc,$(CXX)))
+VLDLIBS += -lg++
+endif
+
#----------------------------------------------------------------------------
# Local targets
#----------------------------------------------------------------------------