369976
diff -Naupr proftpd-1.3.0.orig/configure proftpd-1.3.0/configure
369976
--- proftpd-1.3.0.orig/configure	2006-03-09 19:20:04.000000000 +0100
369976
+++ proftpd-1.3.0.orig/configure	2006-03-09 19:20:04.000000000 +0100
369976
@@ -19660,7 +19660,7 @@ if test "${enable_dso+set}" = set; then
369976
       ac_build_core_modules="$ac_build_core_modules modules/mod_dso.o"
369976
       ac_build_addl_includes="$INCLTDL $ac_build_addl_includes"
369976
 
369976
-      MAIN_LDFLAGS="-L\$(top_srcdir)/lib/libltdl -dlopen self -export-dynamic -rpath \$(DESTDIR)\$(sbindir)"
369976
+      MAIN_LDFLAGS="-L\$(top_srcdir)/lib/libltdl -dlopen self -export-dynamic"
369976
       MAIN_LIBS="\$(LIBLTDL)"
369976
 
369976
       MODULE_LDFLAGS="-avoid-version -export-dynamic -module"
369976
diff -Naupr proftpd-1.3.0.orig/configure.in proftpd-1.3.0/configure.in
369976
--- proftpd-1.3.0.orig/configure.in	2006-03-09 19:12:35.000000000 +0100
369976
+++ proftpd-1.3.0.orig/configure.in	2006-03-09 19:12:35.000000000 +0100
369976
@@ -372,7 +372,7 @@ AC_ARG_ENABLE(dso,
369976
       ac_build_core_modules="$ac_build_core_modules modules/mod_dso.o"
369976
       ac_build_addl_includes="$INCLTDL $ac_build_addl_includes"
369976
 
369976
-      MAIN_LDFLAGS="-L\$(top_srcdir)/lib/libltdl -dlopen self -export-dynamic -rpath \$(DESTDIR)\$(sbindir)"
369976
+      MAIN_LDFLAGS="-L\$(top_srcdir)/lib/libltdl -dlopen self -export-dynamic"
369976
       MAIN_LIBS="\$(LIBLTDL)"
369976
 
369976
       MODULE_LDFLAGS="-avoid-version -export-dynamic -module"