Skip to content

Commit

Permalink
pcre libs should be in libs, not ldflags. jlog doesn't need any libs
Browse files Browse the repository at this point in the history
  • Loading branch information
postwait committed Jan 19, 2015
1 parent 843792f commit 38649fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,7 @@ AC_CHECK_LIB(termcap, tputs, , )
AC_CHECK_LIB(curses, clear, , [AC_MSG_ERROR([curses not found, but required])])

CPPFLAGS="$CPPFLAGS `pcre-config --cflags`"
LDFLAGS="$LDFLAGS `pcre-config --libs`"
SHLDFLAGS="$SHLDFLAGS `pcre-config --libs`"
LIBS="$LIBS `pcre-config --libs`"
AC_CHECK_LIB(pcre, pcre_compile, ,
[
AC_MSG_ERROR([libpcre not found, but required])
Expand Down
2 changes: 1 addition & 1 deletion src/jlog/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CFLAGS=@CFLAGS@
LDFLAGS=@LDFLAGS@
AR=@AR@
RANLIB=@RANLIB@
LIBS=@LIBS@
LIBS=
INSTALL=@INSTALL@
SHLD=@SHLD@
PERL=@PERL@
Expand Down

0 comments on commit 38649fb

Please sign in to comment.