Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/rump_allserver Set LD_DYNAMIC_WEAK, required by glib...



details:   https://anonhg.NetBSD.org/src/rev/d4f300f0dfbc
branches:  trunk
changeset: 325331:d4f300f0dfbc
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Dec 18 20:50:30 2013 +0000

description:
Set LD_DYNAMIC_WEAK, required by glibc ld.so for -l params.

(this accidentally slipped in the previous commit already, but
I'm recommitting it to get cvs annotate right)

diffstat:

 usr.bin/rump_allserver/rump_allserver.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 200439d9802a -r d4f300f0dfbc usr.bin/rump_allserver/rump_allserver.c
--- a/usr.bin/rump_allserver/rump_allserver.c   Wed Dec 18 20:48:31 2013 +0000
+++ b/usr.bin/rump_allserver/rump_allserver.c   Wed Dec 18 20:50:30 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump_allserver.c,v 1.30 2013/12/18 20:48:31 pooka Exp $        */
+/*     $NetBSD: rump_allserver.c,v 1.31 2013/12/18 20:50:30 pooka Exp $        */
 
 /*-
  * Copyright (c) 2010, 2011 Antti Kantee.  All Rights Reserved.
@@ -28,7 +28,7 @@
 #include <rump/rumpuser_port.h>
 
 #ifndef lint
-__RCSID("$NetBSD: rump_allserver.c,v 1.30 2013/12/18 20:48:31 pooka Exp $");
+__RCSID("$NetBSD: rump_allserver.c,v 1.31 2013/12/18 20:50:30 pooka Exp $");
 #endif /* !lint */
 
 #include <sys/types.h>
@@ -309,7 +309,7 @@
                        break;
                }
                case 'l':
-                       setenv("LD_DYNAMIC_WEAK", "1", 1);
+                       setenv("LD_DYNAMIC_WEAK", "1", 2);
                        if (dlopen(optarg, RTLD_LAZY|RTLD_GLOBAL) == NULL) {
                                char pb[MAXPATHLEN];
                                /* try to mimic linker -l syntax */



Home | Main Index | Thread Index | Old Index