tinyxml: darwin compatibility

- Relax the baked-in assumption that g++ is used to build and link
- Use the appropriate shared library extension on darwin
This commit is contained in:
Anthony Cowley
2016-04-01 14:56:07 -04:00
committed by Bjørn Forsman
parent 3a1beb6347
commit 7b56411fef
2 changed files with 28 additions and 3 deletions

View File

@@ -0,0 +1,17 @@
diff -u a/Makefile b/Makefile
--- a/Makefile 2011-05-14 22:24:57.000000000 -0400
+++ b/Makefile 2016-04-01 14:53:05.000000000 -0400
@@ -19,9 +19,9 @@
#****************************************************************************
-CC := gcc
-CXX := g++
-LD := g++
+CC ?= gcc
+CXX ?= g++
+LD ?= g++
AR := ar rc
RANLIB := ranlib
Common subdirectories: a/docs and b/docs