#! /bin/sh /usr/share/dpatch/dpatch-run ## 020_force_PIC_code.dpatch.dpatch by ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Libraries must be build with Position Independent Code (this is ## DP: required on some architectures such as ia64) @DPATCH@ diff -urNad apr-util-1.2.2~/Makefile.in apr-util-1.2.2/Makefile.in --- apr-util-1.2.2~/Makefile.in 2006-03-16 00:45:20.844836672 +0100 +++ apr-util-1.2.2/Makefile.in 2006-03-16 00:46:21.920707298 +0100 @@ -28,6 +28,9 @@ @INCLUDE_RULES@ @INCLUDE_OUTPUTS@ +# libraries need PIC (required on some architectures such as ia64) +EXTRA_CFLAGS += -fPIC + CLEAN_SUBDIRS = test @APR_ICONV_DIR@ CLEAN_TARGETS = exports.c export_vars.c aprutil.exp .make.dirs apu-config.out