Skip to content

Commit

Permalink
Merge pull request #351 from davidhewitt/macos-link-args
Browse files Browse the repository at this point in the history
set macos link args to fix bin + lib combination
  • Loading branch information
davidhewitt authored Aug 11, 2023
2 parents b4325fd + 79f8d50 commit 4c85178
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
pyo3_build_config::add_extension_module_link_args();
}

0 comments on commit 4c85178

Please sign in to comment.