#18961: odhcp6c package building issue (maybe all packages that use cmake)
----------------------+------------------------
 Reporter:  Gaetano   |      Owner:  developers
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:
Component:  packages  |    Version:  Trunk
 Keywords:  odhcp6c   |
----------------------+------------------------
 The package is not correctly compiled after changing the configuration
 options.

 For example, if I change the value of EXT_PREFIX_CLASS option, and build
 the package again, the value of this option is not updated in the
 ''build_dir'' and the package is compiled with the old value.

 Maybe I'm wrong, but think this is a problem present in all packages that
 use ''cmake''.
 Normally, the configuration options are passed directly to make program as
 argument (e.g. -DCONFIG_FOO_ENABLED). On the contrary, when packages
 relies on ''cmake'', the configuration options are passed during the
 ''configure'' phase so once the package has been configured for the first
 time the configuration options cannot be updated.

 Is there a way to force a package to be reconfigured every time you build
 it?

--
Ticket URL: <https://dev.openwrt.org/ticket/18961>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to