Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cpython-unix/extension-modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ _ctypes:
- dl

_ctypes_test:
build-mode: shared
sources:
- _ctypes/_ctypes_test.c
links:
Expand Down
6 changes: 5 additions & 1 deletion src/validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,10 @@ const _DEPENDENCY_PACKAGE_SYMBOLS_BUNDLED: &[&str] = &[
"TkBindInit",
"TkCreateFrame",
"Tk_FreeGC",
// _ctypes_test module
"my_free",
"mystrdup",
"top",
];

const PYTHON_EXPORTED_SYMBOLS: &[&str] = &[
Expand Down Expand Up @@ -872,7 +876,7 @@ const GLOBAL_EXTENSIONS_WINDOWS_PRE_3_13: &[&str] = &["_msi"];
const GLOBAL_EXTENSIONS_WINDOWS_NO_STATIC: &[&str] = &["_testinternalcapi", "_tkinter"];

/// Extension modules that should be built as shared libraries.
const SHARED_LIBRARY_EXTENSIONS: &[&str] = &["_crypt", "_tkinter"];
const SHARED_LIBRARY_EXTENSIONS: &[&str] = &["_crypt", "_ctypes_test", "_tkinter"];

const PYTHON_VERIFICATIONS: &str = include_str!("verify_distribution.py");

Expand Down
Loading