Skip to content

Commit

Permalink
compile and test on freebsd
Browse files Browse the repository at this point in the history
  • Loading branch information
vlm committed Dec 21, 2015
1 parent 25e4ead commit 800d652
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ sudo: false
compiler:
- gcc
- clang
script: autoreconf -iv && ./configure && make check
script: autoreconf -iv && ./configure LDFLAGS=-L/usr/local/lib && make check
3 changes: 1 addition & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@ AC_PROG_CC
AC_PROG_INSTALL
AM_PROG_LIBTOOL

CFLAGS="$CFLAGS -I/usr/local/include"
LDFLAGS="$LDFLAGS -L/usr/local/lib"
AC_CHECK_LIB(iconv, iconv_open)
AC_CHECK_HEADERS(iconv.h, [],
[AC_MSG_FAILURE([iconv.h is missing.])])


AC_CONFIG_FILES([Makefile
src/Makefile
tests/Makefile])
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

bin_PROGRAMS = runzip

runzip_CFLAGS = -W -Wall -Werror -I$(top_srcdir)/libzip-0.7.1/lib -std=gnu99
runzip_CFLAGS = -W -Wall -I$(top_srcdir)/libzip-0.7.1/lib -std=gnu99
runzip_LDADD = $(top_builddir)/libzip-0.7.1/lib/libzip.la

0 comments on commit 800d652

Please sign in to comment.