scons : add HAVE_DLOPEN to build environment
authorTapani Pälli <tapani.palli@intel.com>
Tue, 28 Aug 2012 11:01:51 +0000 (14:01 +0300)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 30 Aug 2012 11:02:03 +0000 (12:02 +0100)
fixes dlopen issue caused by 57c57df7b4579b60a84062df2e64f84dd84558b5

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54140

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Signed-off-by: José Fonseca <jfonseca@vmware.com>
src/mesa/SConscript

index 9f7ac5b645f713a437397d64532474cb45d67747..920b545a89b94034a9b6fb12f5afff72ef692234 100644 (file)
@@ -31,6 +31,7 @@ if env['platform'] == 'windows':
 else:
     env.Append(CPPDEFINES = [
         'IN_DRI_DRIVER', # enable the remap table (for DRI drivers)
+        ('HAVE_DLOPEN', '1'),
     ])
 
 #