summaryrefslogtreecommitdiff
blob: 5339432437723a05805ff4516705ac52795c5245 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- src/Makefile.in.orig	2004-08-16 03:07:41.000000000 +0100
+++ src/Makefile.in	2004-09-01 11:48:46.746514784 +0100
@@ -130,10 +130,10 @@
 	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
 	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-	$(AM_CFLAGS) $(CFLAGS)
+	$(AM_CFLAGS) $(CFLAGS) -fPIC
 CCLD = $(CC)
-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+	$(AM_LDFLAGS) $(LDFLAGS) -fPIC -o $@
 SOURCES = $(libm17n_X_la_SOURCES) $(libm17n_core_la_SOURCES) \
 	$(libm17n_gd_la_SOURCES) $(libm17n_gui_la_SOURCES) \
 	$(libm17n_la_SOURCES) $(linkcore_SOURCES) $(linkgui_SOURCES) \