Skip to content

Commit

Permalink
Detect if we're macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
MyNameIsTrez committed Sep 13, 2024
1 parent 62391bc commit 53d5c4b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ then
echo "- VALGRIND was turned on"
fi

if [ "$(uname)" == "Darwin" ]; then # If Mac OS X
echo lmao
ln -s elf.h /usr/local/include/elf.h
fi

# -rdynamic allows the .so to call functions from test.c
linker_flags='-rdynamic -lm'

Expand Down

0 comments on commit 53d5c4b

Please sign in to comment.