diff --git a/build/premake/premake5.lua b/build/premake/premake5.lua index 4d3fd1f00e..0c3bc2e75d 100644 --- a/build/premake/premake5.lua +++ b/build/premake/premake5.lua @@ -18,9 +18,6 @@ newoption { trigger = "without-nvtt", description = "Disable use of NVTT" } newoption { trigger = "without-pch", description = "Disable generation and usage of precompiled headers" } newoption { trigger = "without-tests", description = "Disable generation of test projects" } --- Linux/BSD specific options -newoption { trigger = "prefer-local-libs", description = "Prefer locally built libs. Any local libraries used must also be listed within a file within /etc/ld.so.conf.d so the dynamic linker can find them at runtime." } - -- OS X specific options newoption { trigger = "macosx-version-min", description = "Set minimum required version of the OS X API, the build will possibly fail if an older SDK is used, while newer API functions will be weakly linked (i.e. resolved at runtime)" } newoption { trigger = "sysroot", description = "Set compiler system root path, used for building against a non-system SDK. For example /usr/local becomes SYSROOT/user/local" } @@ -379,10 +376,6 @@ function project_set_build_flags() end if os.istarget("linux") or os.istarget("bsd") then - if _OPTIONS["prefer-local-libs"] then - libdirs { "/usr/local/lib" } - end - -- To use our local shared libraries, they need to be found in the -- runtime dynamic linker path. Add their path to -rpath. if _OPTIONS["libdir"] then