Skip to content

Commit

Permalink
sqlite3 and libffi on msys2
Browse files Browse the repository at this point in the history
  • Loading branch information
mtelvers committed Oct 9, 2024
1 parent 3039e8a commit 78464dc
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license: "MIT"
homepage: "https://sourceware.org/libffi"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: conf
available: os = "win32" & os-distribution = "cygwin"
available: os = "win32"
build: ["pkgconf" "--personality=i686-w64-mingw32" "libffi"]
depends: [
"conf-pkg-config" {build}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license: "MIT"
homepage: "https://sourceware.org/libffi"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: conf
available: os = "win32" & os-distribution = "cygwin"
available: os = "win32"
build: ["pkgconf" "--personality=x86_64-w64-mingw32" "libffi"]
depends: [
"conf-pkg-config" {build}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license: "Apache-1.0"
homepage: "https://www.openssl.org"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: conf
available: os = "win32" & os-distribution = "cygwin"
available: os = "win32"
build: ["pkgconf" "--personality=i686-w64-mingw32" "openssl"]
depends: [
"conf-pkg-config" {build}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license: "Apache-1.0"
homepage: "https://www.openssl.org"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: conf
available: os = "win32" & os-distribution = "cygwin"
available: os = "win32"
build: ["pkgconf" "--personality=x86_64-w64-mingw32" "openssl"]
depends: [
"conf-pkg-config" {build}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ license: "blessing"
homepage: "http://www.sqlite3.org"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: conf
available: os = "win32" & os-distribution = "cygwin"
available: os = "win32"
build: ["pkgconf" "--personality=i686-w64-mingw32" "sqlite3"]
depends: [
"conf-pkg-config" {build}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ license: "blessing"
homepage: "http://www.sqlite3.org"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: conf
available: os = "win32" & os-distribution = "cygwin"
available: os = "win32"
build: ["pkgconf" "--personality=x86_64-w64-mingw32" "sqlite3"]
depends: [
"conf-pkg-config" {build}
Expand Down
6 changes: 3 additions & 3 deletions packages/conf-sqlite3/conf-sqlite3.1/opam
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ homepage: "http://www.sqlite3.org"
dev-repo: "git+https://github.com/mmottl/sqlite3-ocaml.git"
license: "blessing"
build: [
["pkgconf" {os = "win32" & os-distribution = "cygwin"}
"--personality=i686-w64-mingw32" {os = "win32" & os-distribution = "cygwin" & host-arch-x86_32:installed}
"--personality=x86_64-w64-mingw32" {os = "win32" & os-distribution = "cygwin" & host-arch-x86_64:installed}
["pkgconf" {os = "win32" & os-distribution != "cygwinports"}
"--personality=i686-w64-mingw32" {os = "win32" & os-distribution != "cygwinports" & host-arch-x86_32:installed}
"--personality=x86_64-w64-mingw32" {os = "win32" & os-distribution != "cygwinports" & host-arch-x86_64:installed}
"pkg-config" {os != "win32" | os-distribution != "cygwin"}
"sqlite3"]
]
Expand Down

0 comments on commit 78464dc

Please sign in to comment.