0eaa97ffad
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
13 lines
450 B
Diff
13 lines
450 B
Diff
diff --git a/scripts/embedlibrnnoise.go b/scripts/embedlibrnnoise.go
|
|
index 43daf80..0b3004b 100644
|
|
--- a/scripts/embedlibrnnoise.go
|
|
+++ b/scripts/embedlibrnnoise.go
|
|
@@ -8,7 +8,7 @@ import (
|
|
)
|
|
|
|
func main() {
|
|
- b, err := ioutil.ReadFile("librnnoise_ladspa/bin/ladspa/librnnoise_ladspa.so")
|
|
+ b, err := ioutil.ReadFile(os.Getenv("RNNOISE_LADSPA_PLUGIN"))
|
|
if err != nil {
|
|
fmt.Printf("Couldn't read librnnoise_ladspa.so: %v\n", err)
|
|
os.Exit(1)
|