Skip to content

Commit

Permalink
with soname we avoid abs path when link with -l
Browse files Browse the repository at this point in the history
* maybe use set_version is the "xmake"-ish way but that failed on my side. https://xmake.io/mirror/manual/global_interfaces.html#set_version
  • Loading branch information
Yangff committed Jun 2, 2024
1 parent 0271322 commit 7d438f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions UE4SS/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ target(projectName)
add_files("src/Platform/Win32/CrashDumper.cpp", "src/Platform/Win32/EntryWin32.cpp")
elseif is_plat("linux") then
add_files("src/Platform/Linux/EntryLinux.cpp")
add_shflags("-Wl,-soname,libUE4SS.so")
end

if uiMode ~= "None" then
Expand Down

0 comments on commit 7d438f7

Please sign in to comment.