Skip to content

Commit

Permalink
configure/cleanup needed to detect macOS
Browse files Browse the repository at this point in the history
Because we need a compiler/linker flag on macOS, but
not on Linux.
  • Loading branch information
gaborcsardi committed Feb 1, 2017
1 parent 765df25 commit 7875055
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions cleanup
@@ -0,0 +1,3 @@
#! /bin/bash

rm -f src/Makevars
5 changes: 5 additions & 0 deletions configure
@@ -0,0 +1,5 @@
#! /bin/bash

if [[ "$OSTYPE" == "darwin"* ]]; then
echo "PKG_LIBS=-framework Security" > src/Makevars
fi
2 changes: 0 additions & 2 deletions src/Makevars

This file was deleted.

1 change: 1 addition & 0 deletions src/Makevars.in
@@ -0,0 +1 @@

0 comments on commit 7875055

Please sign in to comment.