add windows support for dba-qdbm

This commit is contained in:
crazywhalecc
2024-04-12 15:32:26 +08:00
parent f6c42e0fbf
commit ee8416c0c6
7 changed files with 46 additions and 7 deletions

View File

@@ -43,9 +43,8 @@
},
"dba": {
"type": "builtin",
"arg-type-windows": "with",
"arg-type-unix": "custom",
"lib-suggests-unix": [
"arg-type": "custom",
"lib-suggests": [
"qdbm"
]
},

View File

@@ -529,6 +529,12 @@
"source": "qdbm",
"static-libs-unix": [
"libqdbm.a"
],
"static-libs-windows": [
"qdbm_a.lib"
],
"headers-windows": [
"depot.h"
]
},
"readline": {

View File

@@ -552,8 +552,9 @@
}
},
"qdbm": {
"type": "url",
"url": "https://master.dl.sourceforge.net/project/qdbm/qdbm/1.8.77/qdbm-1.8.77.tar.gz",
"type": "git",
"url": "https://github.com/static-php/qdbm.git",
"rev": "main",
"license": {
"type": "file",
"path": "COPYING"