| # add missing LDFLAGS to build system. |
| # the configure script still fails to add LDFLAGS when linking |
| # the libtecla shared object but since it calls ld directory |
| # LDFLAGS can't be used straight out of the box. |
| |
| diff -Naur libtecla/Makefile.rules libtecla.new/Makefile.rules |
| --- libtecla/Makefile.rules 2002-12-04 01:26:56.000000000 -0500 |
| +++ libtecla.new/Makefile.rules 2008-10-07 06:16:22.000000000 -0400 |
| @@ -66,7 +66,7 @@ |
| $(OBJDIR)/demo3.o -L. -ltecla$(SUFFIX) $(LIBS) |
| |
| enhance$(SUFFIX): $(OBJDIR)/enhance.o |
| - LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) -o $@ \ |
| + LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(LDFLAGS) $(CFLAGS) -o $@ \ |
| $(OBJDIR)/enhance.o -L. -ltecla$(SUFFIX) $(LIBS) |
| |
| #----------------------------------------------------------------------- |