Skip to content

Commit

Permalink
We need the LDFLAGS for the compile, jic LIBS contains things somewhe…
Browse files Browse the repository at this point in the history
…re other than the linkers default search path
  • Loading branch information
postwait committed Mar 13, 2008
1 parent e4b055a commit 95502c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.in
Expand Up @@ -30,10 +30,10 @@ all: libjlog.a jlogctl test
test: jthreadtest

jlogctl: libjlog.a jlogctl.o
$(CC) $(CFLAGS) -o jlogctl jlogctl.o libjlog.a $(LIBS)
$(CC) $(CFLAGS) -o jlogctl jlogctl.o libjlog.a $(LDFLAGS) $(LIBS)

jthreadtest: libjlog.a jthreadtest.o
$(CC) $(CFLAGS) -o jthreadtest jthreadtest.o libjlog.a $(LIBS)
$(CC) $(CFLAGS) -o jthreadtest jthreadtest.o libjlog.a $(LDFLAGS) $(LIBS)

libjlog.a: $(LIBOBJS)
$(AR) cq libjlog.a $(LIBOBJS)
Expand Down

0 comments on commit 95502c5

Please sign in to comment.