$NetBSD: patch-ak,v 1.3 2000/05/30 19:13:19 drochner Exp $

--- orbit-config.in.orig	Fri Oct  8 06:49:07 1999
+++ orbit-config.in	Tue May 30 16:23:19 2000
@@ -87,7 +87,7 @@
        	;;
 
     client|server)
-	the_libs="$the_libs -L$libdir -lORBit -lIIOP -lORBitutil `glib-config --libs` @LIBS@ -lm"
+	the_libs="$the_libs -L$libdir -Wl,-R$libdir -lORBit -lIIOP -lwrap -lORBitutil `glib-config --libs` @LIBS@ -lm"
 	the_flags="$the_flags `glib-config --cflags` -I$includedir "
 	;;
 
