mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
ref: gl: vgl_shim: remove -fno-PIC to properly link it with shared library
This commit is contained in:
@@ -10,7 +10,7 @@ def configure(conf):
|
||||
conf.define('REF_DLL', 1)
|
||||
|
||||
def build(bld):
|
||||
bld.env.LDFLAGS += ['-fPIC']
|
||||
bld.env.CFLAGS_cstlib.remove('-fno-PIC')
|
||||
bld.env.CFLAGS += ['-fPIC']
|
||||
bld.stlib(source = bld.path.ant_glob('*.c'),
|
||||
target = 'vgl_shim',
|
||||
|
||||
Reference in New Issue
Block a user