xmlrpc-c: install dev files only with 1st variant
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Sun, 4 Feb 2024 20:35:53 +0000 (17:35 -0300)
committerRosen Penev <rosenp@gmail.com>
Wed, 7 Feb 2024 21:55:27 +0000 (13:55 -0800)
commitfb3d67801e07c4bd3d971136c049d8f02b7e360e
tree8b01c45792c9be14734a84d0aff2a2c0bd42c490
parent71c34f85bdc04b0286b12275aa6d62681a17bc36
xmlrpc-c: install dev files only with 1st variant

This adds a variant check to run InstallDev only when the first variant
is built.  Otherwise, a dependent package may install the default
version, even though the second variant ends up in the staging dir,
causing downstream packages to miss library dependencies, such as:

Package rtorrent-rpc is missing dependencies for the following libraries:
libxmlrpc_xmlparse.so.3
libxmlrpc_xmltok.so.3

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
libs/xmlrpc-c/Makefile