Skip to content

Commit

Permalink
Merge pull request #98 from 9999years/support-aarch64-homebrew
Browse files Browse the repository at this point in the history
Support aarch64 Homebrew
  • Loading branch information
Kleidukos authored Oct 25, 2024
2 parents d181703 + a4a24e1 commit 3b0f9e8
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions HsOpenSSL.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,15 @@ Library
Build-Depends: integer-gmp >= 1.0.0 && < 1.1.0

if os(darwin) && flag(homebrew-openssl)
Include-Dirs: /usr/local/opt/openssl/include
Extra-Lib-Dirs: /usr/local/opt/openssl/lib
if arch(aarch64)
Include-Dirs: /opt/homebrew/opt/openssl/include
Extra-Lib-Dirs: /opt/homebrew/opt/openssl/lib
else
Include-Dirs: /usr/local/opt/openssl/include
Extra-Lib-Dirs: /usr/local/opt/openssl/lib

if os(darwin) && flag(macports-openssl)
Include-Dirs: /opt/local/include
Include-Dirs: /opt/local/include
Extra-Lib-Dirs: /opt/local/lib

if flag(use-pkg-config)
Expand Down

0 comments on commit 3b0f9e8

Please sign in to comment.