summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cs/config/Make.rules.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/cs/config/Make.rules.cs b/cs/config/Make.rules.cs
index dd1a1c24d7e..df36b1aa615 100644
--- a/cs/config/Make.rules.cs
+++ b/cs/config/Make.rules.cs
@@ -81,6 +81,12 @@ $(error Ice distribution not found in $(ICE_DIR), please verify ICE_HOME locatio
endif
endif
+ifeq ($(LP64),yes)
+ export LD_LIBRARY_PATH := $(ICE_DIR)/lib64:$(LD_LIBRARY_PATH)
+else
+ export LD_LIBRARY_PATH := $(ICE_DIR)/lib:$(LD_LIBRARY_PATH)
+endif
+
bindir = $(top_srcdir)/bin
libdir = $(top_srcdir)/lib