Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update libheif_build.py #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

yeon1216
Copy link

Homebrew environmental variables are registered in PATH.
Alternatively, the HOMEBREW_PREFIX environment variable for M1 chip users needs to be explained at README.md.

Homebrew environmental variables are registered in PATH.
Alternatively, the HOMEBREW_PREFIX environment variable for M1 chip users needs to be explained at README.md.
@@ -10,7 +10,7 @@
include_dirs = ["/usr/local/include", "/usr/include", "/opt/local/include"]
library_dirs = ["/usr/local/lib", "/usr/lib", "/lib", "/opt/local/lib"]

homebrew_prefix = os.getenv("HOMEBREW_PREFIX")
homebrew_prefix = os.getenv("PATH")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First of all, PATH environment variable specifies the directories to be searched to find a command, not a directories which contains "include" or "lib" directories. Second, PATH environment variable is a list of directories, you can't join a list with a name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants