fix Mac OSX X11 dependency
This commit is contained in:
1 parent
bc5c604841
commit
1f4903ce9c
2 files changed
+2
-2
No files matched your search
@@ -59,7 +59,7 @@ while [ $found -ne 0 ]; do
|
||||
cd "${target}"
|
||||
for file in $(find . -type f); do
|
||||
for lib in $(otool -L ${file} | tail -n +2 \
|
||||
| egrep '/usr/local/|/opt/local/|'"${HOME}" \
|
||||
| egrep '/usr/local/|/opt/local/|/opt/X11/|'"${HOME}" \
|
||||
| grep -v $file | awk '{print $1}'); do
|
||||
found=1
|
||||
test -f ${lib##*/} \
|
||||
|
||||
@@ -59,7 +59,7 @@ while [ $found -ne 0 ]; do
|
||||
cd "${target}"
|
||||
for file in $(find . -type f); do
|
||||
for lib in $(otool -L ${file} | tail -n +2 \
|
||||
| egrep '/usr/local/|/opt/local/|'"${HOME}" \
|
||||
| egrep '/usr/local/|/opt/local/|/opt/X11/|'"${HOME}" \
|
||||
| grep -v $file | awk '{print $1}'); do
|
||||
found=1
|
||||
test -f ${lib##*/} \
|
||||
|
||||
Reference in new issue
Block a user