aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index b8eb43a..6d45b15 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -22,6 +22,7 @@ CFLAGS = @CFLAGS@ @CCOPTS@
CXXFLAGS = @CXXFLAGS@ @CXXOPTS@
LDFLAGS = @LDFLAGS@
LDLIBS += @LDLIBS@
+LIBS += @LIBS@
exec_prefix ?= @exec_prefix@
prefix ?= @prefix@
@@ -79,7 +80,7 @@ install-docs:
@endif
$(JIMSH): $(LIBJIM) jimsh.o initjimsh.o
- $(JIMSH_CC) @SH_LINKFLAGS@ $(LDFLAGS) -o $@ jimsh.o initjimsh.o $(LIBJIM) $(LDLIBS)
+ $(JIMSH_CC) @SH_LINKFLAGS@ $(LDFLAGS) -o $@ jimsh.o initjimsh.o $(LIBJIM) $(LDLIBS) $(LIBS)
@if JIM_INSTALL
install: all @TCL_EXTS@ install-exec install-docs
@@ -132,7 +133,7 @@ $(LIBJIM): $(OBJS)
$(RANLIB) $@
@else
$(LIBJIM): $(OBJS)
- $(CC) $(CFLAGS) $(LDFLAGS) $(SH_LDFLAGS) -o $@ $(OBJS) $(LDLIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) $(SH_LDFLAGS) -o $@ $(OBJS) $(LDLIBS) $(LIBS)
@endif
# Note that $> $^ is for compatibility with both GNU make and BSD make