$OpenBSD: patch-openobex-config_in,v 1.1.1.1 2004/11/12 08:04:22 grange Exp $
--- openobex-config.in.orig	Wed Oct 20 22:18:55 2004
+++ openobex-config.in	Wed Oct 20 22:19:30 2004
@@ -4,6 +4,7 @@ prefix=@prefix@
 exec_prefix=@exec_prefix@
 exec_prefix_set=no
 includedir=@includedir@
+libdir=@libdir@
 
 usage()
 {
@@ -87,7 +88,7 @@ if $cflags; then
 fi
 
 if $libs; then
-    all_flags="$all_flags $services $the_libs -lopenobex"
+    all_flags="$all_flags $services $the_libs -L$libdir -lopenobex"
 fi
 
 if test -z "$all_flags" || test "x$all_flags" = "x "; then
