-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Giso Grimm
authored and
Giso Grimm
committed
Aug 2, 2024
1 parent
2655b5b
commit 285dbc2
Showing
2 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
#!/bin/bash | ||
echo 'int main(int,char**){return 0;}'|g++ -llsl -x c++ - 2>/dev/null && echo yes||echo no | ||
if test `uname -s` = Darwin; then | ||
LDFLAGS=-L/opt/homebrew/lib | ||
fi | ||
echo 'int main(int,char**){return 0;}'|g++ ${LDFLAGS} -llsl -x c++ - 2>/dev/null && echo yes||echo no | ||
rm -f a.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters