Skip to content

Commit

Permalink
fix: update install path name for OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Mar 12, 2021
1 parent ff2329e commit 424f7cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions v3/installer/installer.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,7 @@ func (i *Installer) getLibDstForPackage(pkg string) (string, error) {
}

var setOSXInstallName = func(file string, lib string) error {
cmd := exec.Command("install_name_tool", "-id", fmt.Sprintf("/usr/local/lib/%s.dylib", lib), file)
// cmd := exec.Command("install_name_tool", "-id", fmt.Sprintf("../../libs/%s.dylib", lib), file)
cmd := exec.Command("install_name_tool", "-id", fmt.Sprintf("%s.dylib", lib), file)
stdoutStderr, err := cmd.CombinedOutput()

if err != nil {
Expand Down

0 comments on commit 424f7cc

Please sign in to comment.