Skip to contentSkip to conversation

package/nfs-utils: Fix static build

PATCH New Bernd Kuhls 2 participants 3 messages Nov 23, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/nfs-utils: Fix static build

Fixes
http://autobuild.buildroot.net/results/17d/17d1d94e6f1617851e374f4fe9804f1e5ea9e99f/
http://autobuild.buildroot.net/results/c08/c08b7be40c8f208147a4f95ad897e4a1df7e108d/

---
 package/nfs-utils/nfs-utils.mk |    3 +++
 1 file changed, 3 insertions(+)
package/nfs-utils/nfs-utils.mk +3 -0
index 522e790..4049024 100644
@@ -29,6 +29,9 @@ NFS_UTILS_TARGETS_$(BR2_PACKAGE_NFS_UTILS_RPC_RQUOTAD) += usr/sbin/rpc.rquotad
 
 ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
 NFS_UTILS_CONF_OPTS += --enable-tirpc --with-tirpcinclude=$(STAGING_DIR)/usr/include/tirpc/
+ifeq ($(BR2_PREFER_STATIC_LIB),y)
+NFS_UTILS_CONF_ENV += LIBS="-lpthread"
+endif
 NFS_UTILS_DEPENDENCIES += libtirpc
 else
 NFS_UTILS_CONF_OPTS += --disable-tirpc
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 package/nfs-utils: Fix static build

Bernd Kuhls <[email protected]> wrote in news:1416748839-5316-1-git-send-email-bernd.kuhls at t-online.de:

package/nfs-utils/nfs-utils.mk NFS_UTILS_TARGETS_$(BR2_PACKAGE_NFS_UTILS_RPC_RQUOTAD) += usr/sbin/rpc.rquotad · line 34

Quoted 3 lines
package/nfs-utils/nfs-utils.mk +3 -0
+ifeq ($(BR2_PREFER_STATIC_LIB),y)
+NFS_UTILS_CONF_ENV += LIBS="-lpthread"
+endif

Hi,

lol, Yann and I had the same thought, but his patch is better, therefore I marked mine as superseded in patchworks ;)

Regards, Bernd

#2 lore raw

PATCH 1/1 package/nfs-utils: Fix static build

Bernd, All!

On 2014-11-23 14:26 +0100, Bernd Kuhls spake thusly:

Quoted 7 lines

Bernd Kuhls <[email protected]> wrote in news:1416748839-5316-1-git-send-email-bernd.kuhls at t-online.de:

package/nfs-utils/nfs-utils.mk NFS_UTILS_TARGETS_$(BR2_PACKAGE_NFS_UTILS_RPC_RQUOTAD) += usr/sbin/rpc.rquotad · line 34

Quoted 3 lines
package/nfs-utils/nfs-utils.mk +3 -0
+ifeq ($(BR2_PREFER_STATIC_LIB),y)
+NFS_UTILS_CONF_ENV += LIBS="-lpthread"
+endif

lol,

Indeed! That's pretty funny! :-)

Quoted 2 lines

Yann and I had the same thought, but his patch is better, therefore I marked mine as superseded in patchworks ;)

However, your patch is much simpler, and might be considered sufficient for the release.

So I would not have been so prompt as to mark it in Patchwork.

Peter, Thomas, what's your preference?

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'