Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

Commit

Permalink
use -shared option of nvcc
Browse files Browse the repository at this point in the history
  • Loading branch information
tamuratak committed Mar 26, 2017
1 parent da65cab commit b81bbf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/mkmf-cu/opt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ def compiler_option(opt_h)
end

def linker_option(opt_h)
ret = ""
["-dynamic", "-bundle", "-shared", "-rdynamic"].each{|op|
ret = " -shared "
["-dynamic", "-bundle"].each{|op|
opt_h[op].each{|e|
ret << " --linker-options " + op
}
Expand Down

0 comments on commit b81bbf8

Please sign in to comment.