[Lcdproc] graphlcd build fix
Bernhard Walle
bernhard.walle@gmx.de
Tue Mar 27 19:28:01 2007
--jq0ap7NbKX2Kqbes
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hello,
just a patch for the Makefile on http://www.muresan.de/graphlcd/lcdproc/
to compile it on x86_64.
Regards,
Bernhard
--jq0ap7NbKX2Kqbes
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=glcdprocdriver-fix-build
---
Makefile | 3 +++
1 file changed, 3 insertions(+)
Index: glcdprocdriver-0.0.3/Makefile
===================================================================
--- glcdprocdriver-0.0.3.orig/Makefile
+++ glcdprocdriver-0.0.3/Makefile
@@ -24,6 +24,9 @@ HEADERS = glcdprocdriver.h glcddriver.h
all: $(LIBNAME)
+$(OBJS): %.o: %.c
+ $(CXX) -c -fPIC $(CXXFLAGS) $< -o $@
+
$(LIBNAME): $(OBJS)
$(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -Wl,-soname="$(SONAME)" -o $@
--jq0ap7NbKX2Kqbes--