Skip to content

Commit

Permalink
Merge pull request #27 from bignaux/lib
Browse files Browse the repository at this point in the history
Introduce to squashfuse.pc.in
  • Loading branch information
chipturner authored Feb 20, 2018
2 parents 371e4be + 0c44cb2 commit 3f4a93f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ noinst_PROGRAMS =
lib_LTLIBRARIES = libsquashfuse.la libfuseprivate.la
include_HEADERS = squashfuse.h squashfs_fs.h

pkgconfigdir = @pkgconfigdir@
pkgconfig_DATA = squashfuse.pc

# Main library: libsquashfuse
libsquashfuse_la_SOURCES = swap.c cache.c table.c dir.c file.c fs.c \
decompress.c xattr.c hash.c stack.c traverse.c util.c \
Expand Down
5 changes: 4 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ AM_SILENT_RULES(yes)
AM_PROG_AR
LT_INIT

PKG_PROG_PKG_CONFIG
PKG_INSTALLDIR

# Compiler
AC_PROG_AWK
AC_PROG_SED
Expand Down Expand Up @@ -62,7 +65,7 @@ AS_IF([test "x$enable_high_level$enable_low_level$enable_demo" = xnonono],
AC_MSG_FAILURE([Nothing left to build]))


AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([Makefile squashfuse.pc])
AC_OUTPUT

AS_ECHO()
Expand Down
12 changes: 12 additions & 0 deletions squashfuse.pc.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@

Name: squashfuse
Description: squashfuse library to mount squashfs archives
Version: @VERSION@

Requires:
Libs: -L${libdir} -lsquashfuse
Cflags: -I${includedir}

0 comments on commit 3f4a93f

Please sign in to comment.