Skip to content

Commit

Permalink
set macos link args to fix bin + lib combination
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt committed Aug 11, 2023
1 parent b4325fd commit 79f8d50
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/hello-world-pyprojecttoml/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions examples/hello-world-pyprojecttoml/Cargo.toml
Expand Up @@ -21,3 +21,6 @@ path = "rust/lib.rs"
[[bin]]
name = "print-hello"
path = "rust/print_hello.rs"

[build-dependencies]
pyo3-build-config = "0.19.2"
2 changes: 1 addition & 1 deletion examples/hello-world-pyprojecttoml/MANIFEST.in
@@ -1,6 +1,6 @@
graft python
graft rust
graft tests
include Cargo.toml noxfile.py
include Cargo.toml noxfile.py build.rs
global-exclude */__pycache__/*
global-exclude *.pyc
3 changes: 3 additions & 0 deletions examples/hello-world-pyprojecttoml/build.rs
@@ -0,0 +1,3 @@
fn main() {
pyo3_build_config::add_extension_module_link_args();
}

0 comments on commit 79f8d50

Please sign in to comment.