diff options
author | Domen Kozar <domen@dev.si> | 2013-03-12 01:35:16 +0100 |
---|---|---|
committer | Domen Kozar <domen@dev.si> | 2013-03-12 01:35:16 +0100 |
commit | acf4697a5f17d460295b5eff3a2b119a35ea46d2 (patch) | |
tree | f37f2eaa3f02f3e5cc8c42b177532e629edc173d /pkgs/development/libraries/tinyxml | |
parent | 3e610840061b98b0bd11b30a8b1dc10d5b9a8637 (diff) |
upgrade xbmc to 12.0
Diffstat (limited to 'pkgs/development/libraries/tinyxml')
-rw-r--r-- | pkgs/development/libraries/tinyxml/2.6.2.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/libraries/tinyxml/2.6.2.nix b/pkgs/development/libraries/tinyxml/2.6.2.nix index 8770859817cad..fb2ff0b84f05f 100644 --- a/pkgs/development/libraries/tinyxml/2.6.2.nix +++ b/pkgs/development/libraries/tinyxml/2.6.2.nix @@ -20,8 +20,12 @@ in stdenv.mkDerivation { buildInputs = [ unzip ]; buildPhase = '' + # use STL (xbmc requires it) + sed '1i#define TIXML_USE_STL 1' -i tinyxml.h + sed '1i#define TIXML_USE_STL 1' -i xmltest.cpp + # build xmltest - make + make # build the lib as a shared library g++ -Wall -O2 -shared -fpic tinyxml.cpp \ |