nixpkgs-suyu/pkgs/development/libraries/tinyxml/2.6.2-cxx.patch
Anthony Cowley 7b56411fef tinyxml: darwin compatibility
- Relax the baked-in assumption that g++ is used to build and link
- Use the appropriate shared library extension on darwin
2016-05-21 21:04:41 +02:00

17 lines
401 B
Diff

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