Skip to content

Fix link flags for links-mysql #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
diff --git a/database/mysql-driver/dune b/database/mysql-driver/dune
index c5a4ed03..ccd9c77a 100644
--- a/database/mysql-driver/dune
+++ b/database/mysql-driver/dune
@@ -3,8 +3,8 @@
(public_name links-mysql)
(synopsis "MySQL database backend for Links")
(optional)
- (flags (:standard -safe-string -dtypes -w Ae-44-45-60 -g -cclib -lunix -thread))
- (libraries mysql links.core))
+ (flags (:standard -safe-string -dtypes -w Ae-44-45-60 -g -thread))
+ (libraries unix mysql links.core))


(install
diff --git a/database/mysql8-driver/dune b/database/mysql8-driver/dune
index adfdb3ad..02c4fe17 100644
--- a/database/mysql8-driver/dune
+++ b/database/mysql8-driver/dune
@@ -3,8 +3,8 @@
(public_name links-mysql8)
(synopsis "MySQL8 database backend for Links")
(optional)
- (flags (:standard -safe-string -dtypes -w Ae-42-44-45-60 -g -cclib -lunix -thread))
- (libraries mysql8 links.core))
+ (flags (:standard -safe-string -dtypes -w Ae-42-44-45-60 -g -thread))
+ (libraries unix mysql8 links.core))


(install
33 changes: 33 additions & 0 deletions packages/links-mysql/links-mysql.0.9.3+flambda2/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
opam-version: "2.0"
maintainer: "James Cheney <[email protected]>"
authors: "The Links Team <[email protected]>"
synopsis: "MySQL database driver for the Links Programming Language"
description: "MySQL database driver for the Links Programming Language"
homepage: "https://github.com/links-lang/links"
dev-repo: "git+https://github.com/links-lang/links.git"
bug-reports: "https://github.com/links-lang/links/issues"
license: "GPL-2.0-only"

build: [
[ "dune" "subst" ] {dev}
[ "dune" "build" "-p" name "-j" jobs ]
]

depends: [
"ocaml" {>= "4.08.0"}
"dune" {>= "1.10.0"}
"conf-mysql"
"mysql"
"links" {= version}
]
x-commit-hash: "6ec7f5bd54407cd68eddf906d8ff5002d02702dc"
url {
src:
"https://github.com/links-lang/links/releases/download/0.9.3/links-0.9.3.tbz"
checksum: [
"sha256=f663eaafad4d80ce0f86bb8639bfd5cdd03e432cc4bd2868a0b4b50d2ee11de7"
"sha512=0f70d72e9d0eac2ddd7fb7905e4a5ea2136cfbffcd83d564026f847f1d90c02daaf70d8c84555c68a076867cf9f0913ae38d6b53ca6faaadbedbf20421aa83d8"
]
}
patches: ["unix-link.patch"]
extra-files: [ ["unix-link.patch" "md5=5a11b90b5b1395aadff280eaad55406a"] ]
46 changes: 46 additions & 0 deletions packages/links/links.0.9.3+flambda2/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
opam-version: "2.0"
maintainer: "Simon Fowler <[email protected]>"
authors: "The Links Team <[email protected]>"
synopsis: "The Links Programming Language"
description: "Links is a functional programming language designed to make web programming easier."
homepage: "https://github.com/links-lang/links"
dev-repo: "git+https://github.com/links-lang/links.git"
bug-reports: "https://github.com/links-lang/links/issues"
license: "GPL-2.0-only"
build: [
[ "dune" "subst" ] {dev}
[ "dune" "exec" "--root" "." "preinstall/preinstall.exe" "--" "-libdir" _:lib ]
[ "dune" "build" "-p" name "-j" jobs ]
]

depends: [
"ocaml" {>= "4.08.0"}
"dune" {>= "1.10.0"}
"ppx_deriving"
"ppx_deriving_yojson" {>= "3.3"}
"base64"
"linenoise"
"ANSITerminal"
"lwt" {>= "3.1.0"}
"cohttp"
"cohttp-lwt"
"cohttp-lwt-unix"
"conduit-lwt-unix"
"uri"
"websocket"
"websocket-lwt-unix"
"safepass"
"result"
"ocamlfind"
"menhir"
"ppx_sexp_conv"
]
x-commit-hash: "6ec7f5bd54407cd68eddf906d8ff5002d02702dc"
url {
src:
"https://github.com/links-lang/links/releases/download/0.9.3/links-0.9.3.tbz"
checksum: [
"sha256=f663eaafad4d80ce0f86bb8639bfd5cdd03e432cc4bd2868a0b4b50d2ee11de7"
"sha512=0f70d72e9d0eac2ddd7fb7905e4a5ea2136cfbffcd83d564026f847f1d90c02daaf70d8c84555c68a076867cf9f0913ae38d6b53ca6faaadbedbf20421aa83d8"
]
}