-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow setting libexecdir (/usr/libexec) from build flags
This allows building packages with different values of libexecdir with the daemon binary automatically adapting the channel plugin dir to it, i.e. so there is no need to specify it in the config file. This is relevant for Suse where %{_libexecdir} expands to /usr/lib instead.
- Loading branch information
1 parent
d605423
commit 7229ee2
Showing
4 changed files
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package internal | ||
|
||
// This variable exists to allow overwriting the path using `go build -ldflags "-X ...", see Makefile. | ||
var ( | ||
LibExecDir = "/usr/libexec" | ||
) |