0f32e32
diff -ur prelude-lml-0.9.12.2.orig/configure prelude-lml-0.9.12.2/configure
0f32e32
--- prelude-lml-0.9.12.2.orig/configure	2008-04-24 14:08:17.000000000 -0400
0f32e32
+++ prelude-lml-0.9.12.2/configure	2008-04-24 15:25:29.000000000 -0400
0f32e32
@@ -33196,7 +33196,7 @@
0f32e32
     #AC_LANG_PUSH([C])
0f32e32
 
0f32e32
     save_LDFLAGS="$LDFLAGS"
0f32e32
-    LDFLAGS="$LDFLAGS -z now"
0f32e32
+    LDFLAGS="$LDFLAGS -z now -pie"
0f32e32
     cat >conftest.$ac_ext <<_ACEOF
0f32e32
 
0f32e32
       /* confdefs.h.  */
0f32e32
diff -ur prelude-lml-0.9.12.2.orig/plugins/pcre/Makefile.in prelude-lml-0.9.12.2/plugins/pcre/Makefile.in
0f32e32
--- prelude-lml-0.9.12.2.orig/plugins/pcre/Makefile.in	2008-04-24 14:08:17.000000000 -0400
0f32e32
+++ prelude-lml-0.9.12.2/plugins/pcre/Makefile.in	2008-04-24 15:23:24.000000000 -0400
0f32e32
@@ -155,7 +155,7 @@
0f32e32
 BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@
0f32e32
 CC = @CC@
0f32e32
 CCDEPMODE = @CCDEPMODE@
0f32e32
-CFLAGS = @CFLAGS@
0f32e32
+CFLAGS = @CFLAGS@ -fPIC
0f32e32
 CPP = @CPP@
0f32e32
 CPPFLAGS = @CPPFLAGS@
0f32e32
 CXX = @CXX@
0f32e32
diff -ur prelude-lml-0.9.12.2.orig/src/Makefile.in prelude-lml-0.9.12.2/src/Makefile.in
0f32e32
--- prelude-lml-0.9.12.2.orig/src/Makefile.in	2008-04-24 14:08:17.000000000 -0400
0f32e32
+++ prelude-lml-0.9.12.2/src/Makefile.in	2008-04-24 15:24:31.000000000 -0400
0f32e32
@@ -489,7 +489,7 @@
0f32e32
 target_vendor = @target_vendor@
0f32e32
 SUBDIRS = include
0f32e32
 AM_CPPFLAGS = -I$(srcdir)/include/ -I$(top_srcdir)/libmissing @LIBPRELUDE_CFLAGS@ @PCRE_CFLAGS@ @FAM_CFLAGS@
0f32e32
-AM_CFLAGS = @GLOBAL_CFLAGS@
0f32e32
+AM_CFLAGS = @GLOBAL_CFLAGS@ -fPIE -DPIE
0f32e32
 prelude_lml_LDADD = @LIBPRELUDE_LIBS@ @PCRE_LIBS@ @FAM_LIBS@ $(top_builddir)/libmissing/libmissing.la
0f32e32
 prelude_lml_LDFLAGS = @LIBPRELUDE_LDFLAGS@ @FAM_LDFLAGS@ -export-dynamic \
0f32e32
         "-dlopen" $(top_builddir)/plugins/debug/debug.la \