(DEMANGLER_PROG): Add LIBS.
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 16 Jun 1995 19:06:59 +0000 (15:06 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 16 Jun 1995 19:06:59 +0000 (15:06 -0400)
From-SVN: r9997

gcc/cp/Make-lang.in

index baf6e82b8b6de487c328924d496f9bedb5da2a6a..b78bc00683103f85a4655dd3a238e4485ffec8f6 100644 (file)
@@ -79,8 +79,8 @@ cxxmain.o: cplus-dem.c demangle.h
          -DVERSION=\"$(version)\" cxxmain.c
        rm -f cxxmain.c
 
-$(DEMANGLER_PROG): cxxmain.o underscore.o getopt.o getopt1.o
-       $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ \
+$(DEMANGLER_PROG): cxxmain.o underscore.o getopt.o getopt1.o $(LIBDEPS)
+       $(CC) $(ALL_CFLAGS) $(LDFLAGS) $(LIBS) -o $@ \
          cxxmain.o underscore.o getopt.o getopt1.o
 
 CXX_SRCS = $(srcdir)/cp/call.c $(srcdir)/cp/decl2.c \