vgapi: Generate PIC objects.
authorChia-I Wu <olv@lunarg.com>
Mon, 31 May 2010 23:30:50 +0000 (07:30 +0800)
committerChia-I Wu <olv@lunarg.com>
Mon, 31 May 2010 23:33:29 +0000 (07:33 +0800)
Fixes "...; recompile with -fPIC" error on x86-64.  See fdo 28336.

src/mapi/vgapi/SConscript

index f000c61..bf51264 100644 (file)
@@ -38,7 +38,7 @@ if env['platform'] != 'winddk':
 
        vgapi_objects = []
        for s in mapi_sources:
-               o = env.Object(s[:-2], '../mapi/' + s)
+               o = env.SharedObject(s[:-2], '../mapi/' + s)
                vgapi_objects.append(o)
 
        env.Depends(vgapi_objects, vgapi_header)