summaryrefslogtreecommitdiff
blob: dcc8c7ce52b3ec90e01e5ea348d929aafaa1fce8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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)
 
 #-----------------------------------------------------------------------