Skip to content

Commit b80bcb6

Browse files
committed
libusb xcframeworks mega off
1 parent 0999cce commit b80bcb6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

apothecary/apothecary

+3-2
Original file line numberDiff line numberDiff line change
@@ -1721,7 +1721,7 @@ function xframeworkFormula() {
17211721
mkdir -p "${X_INCLUDE}"
17221722
mkdir -p "${X_LICENSE}"
17231723

1724-
if [[ $1 == "fmod" ]] || [[ $1 == "fmodex" ]] || [[ $1 == "glm" ]] || [[ $1 == "json" ]] || [[ $1 == "utf8" ]]; then
1724+
if [[ $1 == "fmod" ]] || [[ $1 == "fmodex" ]] || [[ $1 == "libusb" ]] || [[ $1 == "glm" ]] || [[ $1 == "json" ]] || [[ $1 == "utf8" ]]; then
17251725
if ! command -v rsync &> /dev/null; then
17261726
if [[ -e "${LIBS_DIR_REAL}/${1}/lib/${TYPE}/" ]]; then
17271727
mkdir -p "${X_LIBS}"
@@ -1836,14 +1836,15 @@ function xframeworkFormula() {
18361836
for dir in "${merged_dirs[@]}"; do
18371837
if [[ "$dir" == "$PATH_MERGE" ]]; then
18381838
path_found_in_array=true
1839+
echo "dir${dir}==PATH_MERGE${PATH_MERGE} path_found_in_array == true not adding for $PAIR_FILE"
18391840
break
18401841
fi
18411842
done
18421843
if [[ $path_found_in_array == false ]]; then
18431844
merged_dirs+=("$PATH_MERGE")
18441845
echo "path_found_in_array == false adding $PATH_MERGE"
18451846
else
1846-
echo "path_found_in_array == true"
1847+
echo "path_found_in_array == true - not adding for $PAIR_FILE"
18471848
fi
18481849
else
18491850
PATH_MERGE=$LIBS_DIR_REAL/$1/lib/$CURRENT_TYPE/${ARCH}/

0 commit comments

Comments
 (0)