$NetBSD: patch-ak,v 1.4 2002/01/15 23:52:11 rh Exp $ --- orbit-config.in.orig Thu Sep 20 03:09:00 2001 +++ orbit-config.in @@ -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` " test "x$includedir" = "x/usr/include" \ || the_flags="$the_flags -I$includedir "