Some months ago, I introduced the runpathdirs API in premake to specify run path search directories (mostly for Makefiles, on macOS and linux)
(previous discussion here:
https://groups.google.com/forum/#!topic/premake-development/h_jWScfbBb0)
For now, all paths are transformed to be relative to the target output directory. The generated -rpath command use system-specific keywords to tell the linker the path is relative ($ORIGIN on linux, @loader_path on macOS)
I recently found a case where i need to specify an absolute path (the homebrew build of SFML on macOS)
Now, I wonder how I should modify the existing code to allow that.
What do you think about something like
runpathdirs { "a/relative/path", "absolute:/usr/local/brew/lib" }
This will ensure backward compatibility and the keyword+colon prefix syntax is similar to other APIs such as filter