mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-03-14 03:23:43 +00:00
python builddeps
This commit is contained in:
2
Makefile
2
Makefile
@@ -134,7 +134,7 @@ $(BUILD)/%.o: %.c
|
|||||||
python:
|
python:
|
||||||
ifneq ($(call optbool,$(WITH_PYTHON)),)
|
ifneq ($(call optbool,$(WITH_PYTHON)),)
|
||||||
$(info == PY_BUILD ustreamer-*.so)
|
$(info == PY_BUILD ustreamer-*.so)
|
||||||
@ cd python && $(PY) setup.py --quiet build
|
@ cd python && $(PY) setup.py build
|
||||||
@ ln -sf python/build/lib.*/*.so .
|
@ ln -sf python/build/lib.*/*.so .
|
||||||
else
|
else
|
||||||
@ true
|
@ true
|
||||||
|
|||||||
@@ -17,6 +17,10 @@ if __name__ == "__main__":
|
|||||||
libraries=["rt", "m", "pthread"],
|
libraries=["rt", "m", "pthread"],
|
||||||
undef_macros=["NDEBUG"],
|
undef_macros=["NDEBUG"],
|
||||||
sources=["ustreamer.c"],
|
sources=["ustreamer.c"],
|
||||||
|
depends=[
|
||||||
|
"../src/libs/tools.h",
|
||||||
|
"../src/libs/memsinksh.h",
|
||||||
|
],
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user