summaryrefslogtreecommitdiff
path: root/packages/nonworking/python/python-gsl-0.2.0/cross-compile.patch
blob: 1c90d59c542aa98194f62dfcdb6a97f3b1becd2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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())