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