File libtecla-makefiles-rules-no-rpath.diff of Package tecla

diff --git a/Makefile.rules b/Makefile.rules
index 0cf2316..d5ef6d0 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -54,19 +54,19 @@ libtecla.map.opt: $(srcdir)/libtecla.map
 demos: $(DEMO_PROGS)
 
 demo$(SUFFIX): $(OBJDIR)/demo.o $(TARGETS)
-	LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) -o $@ \
+	$(CC) $(CFLAGS) -o $@ \
  $(OBJDIR)/demo.o -L. -ltecla$(SUFFIX) $(LIBS)
 
 demo2$(SUFFIX): $(OBJDIR)/demo2.o $(TARGETS)
-	LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) -o $@ \
+	$(CC) $(CFLAGS) -o $@ \
  $(OBJDIR)/demo2.o -L. -ltecla$(SUFFIX) $(LIBS)
 
 demo3$(SUFFIX): $(OBJDIR)/demo3.o $(TARGETS)
-	LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) -o $@ \
+	$(CC) $(CFLAGS) -o $@ \
  $(OBJDIR)/demo3.o -L. -ltecla$(SUFFIX) $(LIBS)
 
 enhance$(SUFFIX): $(OBJDIR)/enhance.o $(TARGETS)
-	LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) -o $@ \
+	$(CC) $(CFLAGS) -o $@ \
  $(OBJDIR)/enhance.o -L. -ltecla$(SUFFIX) $(LIBS)
 
 #-----------------------------------------------------------------------
openSUSE Build Service is sponsored by