Skip to content

Commit

Permalink
Fix builds when PDFio is not installed.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Feb 22, 2025
1 parent e4b4b1c commit 99fc84b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -4358,7 +4358,7 @@ else $as_nop
printf "%s\n" "no, using embedded version" >&6; }
CPPFLAGS="$CPPFLAGS -I../pdfio"
PDFIODIR="pdfio"
XFORMLIBS="../pdfio/libpdfio.a $XFORMLIBS"
XFORMLIBS="-L../pdfio \`PKG_CONFIG_PATH=../pdfio $PKGCONFIG --libs pdfio\` $XFORMLIBS"
subdirs="$subdirs pdfio"


Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ AS_IF([$PKGCONFIG --exists pdfio], [
AC_MSG_RESULT([no, using embedded version])
CPPFLAGS="$CPPFLAGS -I../pdfio"
PDFIODIR="pdfio"
XFORMLIBS="../pdfio/libpdfio.a $XFORMLIBS"
XFORMLIBS="-L../pdfio \`PKG_CONFIG_PATH=../pdfio $PKGCONFIG --libs pdfio\` $XFORMLIBS"
AC_CONFIG_SUBDIRS([pdfio])
])
AC_SUBST([PDFIODIR])
Expand Down

0 comments on commit 99fc84b

Please sign in to comment.