SOURCES: mcl-pic.patch (NEW) - PIC where needed (for plugins)

qboosh qboosh at pld-linux.org
Fri Aug 5 20:57:58 CEST 2005


Author: qboosh                       Date: Fri Aug  5 18:57:57 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- PIC where needed (for plugins)

---- Files affected:
SOURCES:
   mcl-pic.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/mcl-pic.patch
diff -u /dev/null SOURCES/mcl-pic.patch:1.1
--- /dev/null	Fri Aug  5 20:57:57 2005
+++ SOURCES/mcl-pic.patch	Fri Aug  5 20:57:52 2005
@@ -0,0 +1,18 @@
+--- mcl-0.53.00/Makefile.in.orig	2003-04-13 15:27:08.000000000 +0200
++++ mcl-0.53.00/Makefile.in	2005-08-05 20:50:45.000000000 +0200
+@@ -108,13 +108,13 @@
+ 	$(CC) $(LDFLAGS) -shared $< -o $@ $(PERL_LDFLAGS) $(LIBPTHREAD)
+ 
+ o/plugins/PerlEmbeddedInterpreter.o: plugins/PerlEmbeddedInterpreter.cc
+-	$(CC) -c $(MCL_CFLAGS) $(PERL_CPPFLAGS) $< -o $@
++	$(CC) -c -fPIC $(MCL_CFLAGS) $(PERL_CPPFLAGS) $< -o $@
+ 
+ o/plugins/python.so: o/plugins/PythonEmbeddedInterpreter.o
+ 	$(CC) $(LDFLAGS) -shared $< -o $@ $(PYTHON_LDFLAGS) $(LIBPTHREAD)
+ 
+ o/plugins/PythonEmbeddedInterpreter.o: plugins/PythonEmbeddedInterpreter.cc
+-	$(CC) -c $(MCL_CFLAGS) $(PYTHON_CPPFLAGS) $< -o $@
++	$(CC) -c -fPIC $(MCL_CFLAGS) $(PYTHON_CPPFLAGS) $< -o $@
+ 
+ install: $(EXE)
+ 	$(INSTALL) -d $(INSTALL_ROOT)$(prefix)/{bin,lib/mcl/{auto,contrib,plugins,sys}}
================================================================



More information about the pld-cvs-commit mailing list