Skip to content

Commit

Permalink
fix liblz4 cflags
Browse files Browse the repository at this point in the history
  • Loading branch information
WinterMute authored and fincs committed May 8, 2018
1 parent e2d64bb commit d2a2a3d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 6 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,18 @@ elf2kip_SOURCES = src/elf2kip.c src/cJSON.c src/cJSON.h src/blz.c src/blz.h src/

nacptool_SOURCES = src/nacptool.c

npdmtool_SOURCES = src/npdmtool.c src/cJSON.c src/cJSON.h
npdmtool_SOURCES = src/npdmtool.c src/cJSON.c src/cJSON.h

nxlink_SOURCES = src/nxlink.c

nxlink_CPPFLAGS = @ZLIB_CFLAGS@
nxlink_LDADD = @ZLIB_LIBS@ @NET_LIBS@

elf2nso_CPPFLAGS = @LZ4_CFLAGS@
elf2nso_LDADD = @LZ4_LIBS@

nxlink_LDADD = @ZLIB_LIBS@ @NET_LIBS@
elf2nro_CPPFLAGS = @LZ4_CFLAGS@
elf2nro_LDADD = @LZ4_LIBS@


EXTRA_DIST = autogen.sh
3 changes: 2 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ esac

CFLAGS="$CFLAGS -std=gnu99"

AC_SUBST(ZLIB_CFLAGS)
AC_SUBST(ZLIB_LIBS)
AC_SUBST(NET_LIBS)
AC_SUBST(ZLIB_CFLAGS)
AC_SUBST(LZ4_CFLAGS)
AC_SUBST(LZ4_LIBS)
AC_CONFIG_FILES([Makefile])
AC_OUTPUT

0 comments on commit d2a2a3d

Please sign in to comment.