Skip to content

Commit

Permalink
Fix rpath for OMSI FMU with gcc
Browse files Browse the repository at this point in the history
Belonging to [master]:
  - #171
  - OpenModelica/OMCompiler#3084
  • Loading branch information
AnHeuermann authored and OpenModelica-Hudson committed May 9, 2019
1 parent a4e794b commit d9dbed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Template/CodegenOMSIC.tpl
Expand Up @@ -145,7 +145,7 @@ template createMakefile(SimCode simCode, String target, String makeflieName)
let OMLibs = match makefileParams.platform case "win32" case "win64" then 'lib' case "linux64" then 'lib/x86_64-linux-gnu' else 'lib'
let lapackDirWin = match makefileParams.platform case "win32" then '$(OMDEV)/tools/msys/mingw32/bin' case "win64" then '$(OMDEV)/tools/msys/mingw64/bin' else ''
let libEnding = match makefileParams.platform case "win32" case "win64" then 'dll' else 'so'
let rpath = match makefileParams.platform case "win32" case "win64" then '' else "-rpath '$$ORIGIN/.'"
let rpath = match makefileParams.platform case "win32" case "win64" then '' else "\"-Wl,-rpath,\$$ORIGIN/.\""
let star = match makefileParams.platform case "win32" case "win64" then '' else '*'
let fPIC = match makefileParams.platform case "win32" case "win64" then '' else '-fPIC '

Expand Down

0 comments on commit d9dbed6

Please sign in to comment.