Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
Just like a regular Extension, but built as a library instead

src/m/e/merlin-1-1.0/tests/shlib_test/setup.py   merlin(Download)
from merlin import setup, Extension, Library
 
setup(
    name="shlib_test",
    ext_modules = [
        Library("hellolib", ["hellolib.c"]),