14 lines
450 B
Diff
14 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)
|