aboutsummaryrefslogtreecommitdiffstats
path: root/main/heimdal/002_all_heimdal-fPIC.patch
blob: c67dbae764632cc3a909a10eaae2efe813551fde (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- lib/editline/Makefile.am	2005-06-16 18:28:44.000000000 +0200
+++ lib/editline/Makefile.am	2005-06-27 23:21:02.000000000 +0200
@@ -41,6 +41,9 @@
 
 EXTRA_DIST = $(man_MANS)
 
+$(libeditline_la_OBJECTS): %.lo: %.c
+	$(LTCOMPILE) -fPIC -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+
 snprintf.c:
 	$(LN_S) $(srcdir)/../roken/snprintf.c .
 strdup.c: