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 f000c6105b3c6c2db80437c9502e01d471cead31..bf51264ab949e2ab5fa1c5070e5758de4187558a 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)