blob: f7899d92e7c939d29bb9049a73033d0d31ff31bc (
plain) (
tree)
|
|
import os
selfExec "c --app:lib " & (projectDir() / "samplelib.nim")
switch("clibdir", projectDir())
--clib:samplelib
# Make test executable can load sample shared library.
# `-rpath` option doesn't work and ignored on Windows.
# But the dll file in same directory as executable file is loaded.
switch("passL", "-Wl,-rpath," & projectDir())
|