Skip to content

Commit

Permalink
Assume pkg-config gives the leptonica subdir.
Browse files Browse the repository at this point in the history
This is effectively already assumed via the configure test.
  • Loading branch information
jeroen committed Oct 3, 2024
1 parent a4a890e commit be36685
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
config:
- {os: macos-13, r: 'release'}
- {os: macos-14, r: 'release'}
- {os: windows-4.1 , r: 'release'}
- {os: windows-latest , r: 'release'}
- {os: windows-latest , r: '4.1'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}
Expand Down
2 changes: 1 addition & 1 deletion src/Makevars.win
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
RWINLIB = ../windows/tesseract
PKG_CPPFLAGS = -I${RWINLIB}/include
PKG_CPPFLAGS = -I${RWINLIB}/include -I${RWINLIB}/include/leptonica

PKG_LIBS = \
-L${RWINLIB}/lib${subst gcc,,${COMPILED_BY}}${R_ARCH} \
Expand Down
2 changes: 1 addition & 1 deletion src/tesseract_types.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <tesseract/baseapi.h>
#include <leptonica/allheaders.h>
#include <allheaders.h>

#define R_NO_REMAP
#define STRICT_R_HEADERS
Expand Down

0 comments on commit be36685

Please sign in to comment.