python/build/libs.py: build CURL with OpenSSL support

Closes https://github.com/MusicPlayerDaemon/MPD/issues/1059
This commit is contained in:
Max Kellermann
2021-01-21 14:13:59 +01:00
parent 1afa33c3c7
commit 168d6257b4
5 changed files with 67 additions and 2 deletions

@@ -20,7 +20,7 @@ class Project:
self.base = base
if name is None or version is None:
m = re.match(r'^([-\w]+)-(\d[\d.]*[a-z]?[\d.]*)$', self.base)
m = re.match(r'^([-\w]+)-(\d[\d.]*[a-z]?[\d.]*(?:-alpha\d+)?)$', self.base)
if name is None: name = m.group(1)
if version is None: version = m.group(2)