From: Rafael L. <ra...@la...> - 2022-12-08 11:20:52
|
Dear PLplot developers, We are currently applying the patch attached below when building the Debian package for PLplot. It allows the creation of a static version of libplplotada, what is recommended to meet the Ada standards in Debian. This solution is not ideal, because the new target libplplotada_static.a is created and later, in debian/rules, the following is needed in target execute_after_dh_auto_install (see [1]): mv debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libplplotada_static.a \ debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libplplotada.a My knowledge of CMake is too scarce and I could not figure out how to avoid the renaming above. According to Nicolas Boulenguez, this change could be accompanied by a new configuration option : shared_library *yes/no static_library yes/*no This schema could allow one to add a static-pic in the future. Best, Rafael Laboissière [1] https://salsa.debian.org/science-team/plplot/-/commit/82895090f80180bd1d085e03fb09056e31138e92 |