diff options
Diffstat (limited to 'recipes/nonworking/python/python-gsl-0.2.0/cross-compile.patch')
-rw-r--r-- | recipes/nonworking/python/python-gsl-0.2.0/cross-compile.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes/nonworking/python/python-gsl-0.2.0/cross-compile.patch b/recipes/nonworking/python/python-gsl-0.2.0/cross-compile.patch new file mode 100644 index 0000000000..1c90d59c54 --- /dev/null +++ b/recipes/nonworking/python/python-gsl-0.2.0/cross-compile.patch @@ -0,0 +1,18 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- pygsl-0.2.0/gsl_Extension.py~cross-compile 2003-11-19 10:08:53.000000000 +0100 ++++ pygsl-0.2.0/gsl_Extension.py 2004-02-16 16:32:15.000000000 +0100 +@@ -85,8 +85,8 @@ + else: + self.gsl_config_tool="gsl-config" + +- self.prefix = self.get_gsl_info('--prefix').strip() +- self.cflags = self.get_gsl_info('--cflags').strip() ++ self.prefix = os.getenv( "STAGING_DIR" )+"/target" ++ self.cflags = self.get_gsl_info('--cflags').strip() + " -I%s/python2.5/include" % os.getenv( "STAGING_DIR" ) + self.libs = self.get_gsl_info('--libs').strip() + self.version = self._split_version(self.get_gsl_info('--version').strip()) + |