added runpath linker option as comment
This commit is contained in:
parent
8ffc827f20
commit
c9c30f027b
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,9 @@ project "Template"
|
||||||
links { "SDL2", "SDL2_image", "SDL2_ttf" }
|
links { "SDL2", "SDL2_image", "SDL2_ttf" }
|
||||||
--links { "SDL2", "SDL2_image", "GL", "GLEW", "SOIL", "fmod", "fmodstudio", "SDL2_ttf" }
|
--links { "SDL2", "SDL2_image", "GL", "GLEW", "SOIL", "fmod", "fmodstudio", "SDL2_ttf" }
|
||||||
--linkoptions { "-fuse-ld=gold" } --other linker
|
--linkoptions { "-fuse-ld=gold" } --other linker
|
||||||
|
--set runpath to tell the generated executable where to find libraries:
|
||||||
|
--https://amir.rachum.com/shared-libraries/#rpath-and-runpath
|
||||||
|
--linkoptions { "-Wl,--enable-new-dtags,-rpath,'../External/FMOD/lib/x86_64'" }
|
||||||
--libdirs { "../External/FMOD/lib/x86_64" }
|
--libdirs { "../External/FMOD/lib/x86_64" }
|
||||||
--includedirs { "../External/FMOD/inc" }
|
--includedirs { "../External/FMOD/inc" }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue