Skip to content

Commit

Permalink
fix rpath for mac
Browse files Browse the repository at this point in the history
  • Loading branch information
jcosborn committed Nov 11, 2024
1 parent 04be68f commit 0508c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/comms/qmp.nim
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ when existsEnv("QMPDIR"):
else:
const qmpDir {.strDefine.} = getHomeDir() & "lqcd/install/qmp"
const qmpPassC = "-I" & qmpDir & "/include"
const qmpPassL* = "-L" & qmpDir & "/lib -lqmp -Wl,-rpath=" & qmpDir & "/lib"
const qmpPassL* = "-L" & qmpDir & "/lib -lqmp -Wl,-rpath," & qmpDir & "/lib"
static:
echo "Using QMP: ", qmpDir
echo "QMP compile flags: ", qmpPassC
Expand Down

0 comments on commit 0508c8b

Please sign in to comment.