Commit 0739abab authored by Guillaume Pasero's avatar Guillaume Pasero

BUG: #1672: better grep pattern for Mach-O files

parent f251af02
......@@ -51,8 +51,8 @@ unset DYLD_FALLBACK_LIBRARY_PATH
echo "Configuring..."
LIB_FILES=$(find "./lib" "./plugins" -type f -exec file {} \; | grep -i "Mach-O"|cut -d ':' -f1)
BIN_FILES=$(find "./bin" -type f -exec file {} \; | grep -i "Mach-O*.*executable"|cut -d ':' -f1)
LIB_FILES=$(find "./lib" "./plugins" -type f -exec file {} \; | grep -i ": Mach-O "|cut -d ':' -f1)
BIN_FILES=$(find "./bin" -type f -exec file {} \; | grep -i ": Mach-O .*executable"|cut -d ':' -f1)
# run install_name_tool
for input_file in $LIB_FILES $BIN_FILES; do
#echo "adding rpath to $OUT_DIR/$lib_file"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment