From: Chia-I Wu Date: Mon, 31 May 2010 23:30:50 +0000 (+0800) Subject: vgapi: Generate PIC objects. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=79e5bea3cb498e7a663e0f08db49fe2de764650c;p=mesa.git vgapi: Generate PIC objects. Fixes "...; recompile with -fPIC" error on x86-64. See fdo 28336. --- diff --git a/src/mapi/vgapi/SConscript b/src/mapi/vgapi/SConscript index f000c6105b3..bf51264ab94 100644 --- a/src/mapi/vgapi/SConscript +++ b/src/mapi/vgapi/SConscript @@ -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)