[Git][NTPsec/ntpsec][master] Correct the formula for freezing binaries.

Eric S. Raymond gitlab at mg.gitlab.com
Thu Nov 3 22:08:02 UTC 2016

Eric S. Raymond pushed to branch master at NTPsec / ntpsec

04247218 by Eric S. Raymond at 2016-11-03T18:07:50-04:00
Correct the formula for freezing binaries.

- - - - -

1 changed file:

- devel/packaging.txt


--- a/devel/packaging.txt
+++ b/devel/packaging.txt
@@ -28,9 +28,10 @@ a binary version of ntpviz with cython, you can do something like
-cc  -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 -c ntpviz.c -o ntpviz.o
-cc   ntpviz.o -lpython2.7 -o ntpviz
-rm ntpviz.c
+cython --embed ntpviz -o cyntpviz.c
+cc  -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 -c cyntpviz.c -o cyntpviz.o
+cc   cyntpviz.o -lpython2.7 -o cyntpviz
+rm cyntpviz.c
 Binaries built in this way are normal executables with no run-time

View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/042472186640fe6bd7a58aa89066e6c514c013b7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161103/7cfa0b8f/attachment.html>

More information about the vc mailing list