package/dhcp: install shared libraries
authorCarlos Santos <unixmania@gmail.com>
Fri, 9 Aug 2019 02:27:59 +0000 (23:27 -0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 9 Aug 2019 20:43:12 +0000 (22:43 +0200)
commita404d48e7eeb919b279b4023fee5c9b307ce1f7a
tree8537dac978c333bbe286ce06e1c7e7255d28bd7e
parent12256d33207fa83b435c8984887a768b697c1b61
package/dhcp: install shared libraries

We don't use "make install" for target installation because we build all
utilities (server, relay, client) but install only the selected ones.

The utilities, however, require the shared libraries to work, so use the
"install-exec" make target to install them. This also installs static
libraries but they are removed later by target-finalize.

With this change the omshell utility is installed if server is selected.
We keep it, since it is small and may be useful at run-time.

Fixes:
  https://bugs.busybox.net/show_bug.cgi?id=12086

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/dhcp/dhcp.mk