aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/talloc/SConscript
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-11-23 21:17:37 +0000
committermarha <marha@users.sourceforge.net>2010-11-23 21:17:37 +0000
commit5a29767a32cd9685e02240a3ce16a0338270009e (patch)
tree2131cb055e0b914162debbb76b9b11732a3695d1 /mesalib/src/talloc/SConscript
parent2255fbad6ddb12aec606d1c25de69e9ce42cd3e4 (diff)
downloadvcxsrv-5a29767a32cd9685e02240a3ce16a0338270009e.tar.gz
vcxsrv-5a29767a32cd9685e02240a3ce16a0338270009e.tar.bz2
vcxsrv-5a29767a32cd9685e02240a3ce16a0338270009e.zip
Added needed missing file for mesa 2.9
Diffstat (limited to 'mesalib/src/talloc/SConscript')
-rw-r--r--mesalib/src/talloc/SConscript20
1 files changed, 20 insertions, 0 deletions
diff --git a/mesalib/src/talloc/SConscript b/mesalib/src/talloc/SConscript
new file mode 100644
index 000000000..3bf7029bb
--- /dev/null
+++ b/mesalib/src/talloc/SConscript
@@ -0,0 +1,20 @@
+Import('*')
+
+if env['platform'] != 'windows':
+ Return()
+
+env = env.Clone()
+
+talloc = env.SharedLibrary(
+ target = 'talloc',
+ source = ['talloc.c', 'talloc.def'],
+)
+
+env.InstallSharedLibrary(talloc)
+
+if env['platform'] == 'windows':
+ talloc = env.FindIxes(talloc, 'LIBPREFIX', 'LIBSUFFIX')
+else:
+ talloc = env.FindIxes(talloc, 'SHLIBPREFIX', 'SHLIBSUFFIX')
+
+Export('talloc')