From: Uwe Hermann Date: Sat, 31 Jan 2015 23:20:32 +0000 (+0100) Subject: sigrok-native-macosx: Use /usr/local/opt paths. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=89de8f012e8f62144cecd6c54ad9a66beca825d8;p=sigrok-util.git sigrok-native-macosx: Use /usr/local/opt paths. Avoid too specific Homebrew paths. The /usr/local/opt/ path is a symlink to the respective /usr/local/Cellar path for Homebrew. --- diff --git a/cross-compile/macosx/sigrok-native-macosx b/cross-compile/macosx/sigrok-native-macosx index d69f048..9c78fc0 100755 --- a/cross-compile/macosx/sigrok-native-macosx +++ b/cross-compile/macosx/sigrok-native-macosx @@ -49,8 +49,8 @@ export PATH="/usr/local/opt/qt52/bin:$PATH" # Qt5 # Path to Python 2/3 pkg-config files. # In Homebrew, pkg-config files of "keg-only" formulas (Python is one of them) # aren't installed into /usr/local/lib/pkgconfig (we manually reference them). -PY2="/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig" -PY3="/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/lib/pkgconfig" +PY2="/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig" +PY3="/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.4/lib/pkgconfig" # You usually don't need to change anything below this line.