Skip to content
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

py-ujson: add stdlib flag to clang builds #16383

Merged
merged 2 commits into from Oct 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 5 additions & 1 deletion python/py-ujson/Portfile
Expand Up @@ -5,7 +5,7 @@ PortGroup python 1.0

name py-ujson
version 5.5.0
revision 0
revision 1

categories-append devel
license BSD
Expand All @@ -28,6 +28,10 @@ if {${name} ne ${subport}} {
port:py${python.version}-setuptools_scm \
port:py${python.version}-toml

if {[string match *clang* ${configure.compiler}]} {
configure.cxx ${configure.cxx} -stdlib=${configure.cxx_stdlib}
}

test.run yes

post-destroot {
Expand Down