[Xorp-hackers] [PATCH 2/2] xorp: rtrmgr: Fix compiling when shared and rtld_origin are setted to false
igorm at etf.rs
igorm at etf.rs
Wed Feb 22 07:43:17 PST 2012
From: Igor Maravic <igorm at etf.rs>
Just replaced "env" with "libxorp_rtrmgr_env". With that fix,
libxorp_rtrmgr will include necessary libraries. Problem
was with crypto library, that wasn't included.
Signed-off-by: Igor Maravic <igorm at etf.rs>
---
xorp/rtrmgr/SConscript | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/xorp/rtrmgr/SConscript b/xorp/rtrmgr/SConscript
index 05c0f4d..adf2f1c 100644
--- a/xorp/rtrmgr/SConscript
+++ b/xorp/rtrmgr/SConscript
@@ -117,12 +117,12 @@ xorp_paths = {
is_shared = env.has_key('SHAREDLIBS')
if not is_shared:
- env.AppendUnique(LIBS = [
+ libxorp_rtrmgr_env.AppendUnique(LIBS = [
"crypto",
])
if not (env.has_key('mingw') and env['mingw']):
- env.AppendUnique(LIBS = [
+ libxorp_rtrmgr_env.AppendUnique(LIBS = [
"rt",
])
--
1.7.5.4
More information about the Xorp-hackers
mailing list