2021-12-31 22:10:55 +01:00
|
|
|
From 298cd8eaa21a21eee85f9551a26ad294347b1d5a Mon Sep 17 00:00:00 2001
|
|
|
|
From: Peter Korsgaard <peter@korsgaard.com>
|
|
|
|
Date: Thu, 30 Dec 2021 11:14:15 -0800
|
|
|
|
Subject: [PATCH] python makefile
|
|
|
|
|
|
|
|
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
|
|
|
[adam: refresh for 1.14; make it git-formatted]
|
|
|
|
Signed-off-by: Adam Duskett <aduskett@gmail.com>
|
2022-10-01 23:41:56 +02:00
|
|
|
[Fabrice: updated for 1.16.1]
|
|
|
|
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
2021-12-31 22:10:55 +01:00
|
|
|
---
|
|
|
|
python/Makefile.am | 1 +
|
|
|
|
1 file changed, 1 insertion(+)
|
|
|
|
|
|
|
|
diff --git a/python/Makefile.am b/python/Makefile.am
|
|
|
|
index 1a74ef2..59fe0f3 100644
|
|
|
|
--- a/python/Makefile.am
|
|
|
|
+++ b/python/Makefile.am
|
|
|
|
@@ -11,6 +11,7 @@ $(srcdir)/dnet.c: $(srcdir)/dnet.pyx
|
|
|
|
|
2022-10-01 23:41:56 +02:00
|
|
|
|
|
|
|
python-build:
|
2021-12-31 22:10:55 +01:00
|
|
|
+ CC="$(CC)" LDSHARED="$(CC) -shared" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" $(PYTHON) setup.py build_ext -I$(PYINCDIR) -L$(PYLIBDIR)
|
|
|
|
$(PYTHON) setup.py build
|
|
|
|
touch python-build
|
|
|
|
|
|
|
|
--
|
|
|
|
2.33.1
|
|
|
|
|