diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 4418a1c..87f2160 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -4500,6 +4500,11 @@ m4_if([$1], [CXX], [ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; + *NVIDIA\ CORPORATION*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; esac ;; esac