diff --git a/gyp/libjpeg-turbo.gyp b/gyp/libjpeg-turbo.gyp index 7da66a15ff..4df410cbfc 100644 --- a/gyp/libjpeg-turbo.gyp +++ b/gyp/libjpeg-turbo.gyp @@ -259,12 +259,14 @@ 'yasm_flags': [ '-D__x86__', '-DELF', + '-DPIC', ], }, { 'yasm_format': '-felf64', 'yasm_flags': [ '-D__x86_64__', '-DELF', + '-DPIC', ], }], ],