Skip to content

Commit

Permalink
does not load on Macbook. Likely due to a libstd mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
JanMarvin committed Jul 15, 2023
1 parent dacfdd0 commit c20eea6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ elif [ `uname` = "Darwin" ]; then
test ! "$CI" && brew --version 2>/dev/null
if [ $? -eq 0 ]; then
BREWDIR=`brew --prefix`
PKG_CFLAGS="-I$BREWDIR/opt/libarchive/include"
PKG_LIBS="-L$BREWDIR/opt/libarchive/lib $PKG_LIBS"
PKG_CFLAGS="-I$BREWDIR/opt/libarchive/include -I$BREWDIR/opt/fmt/include/"
PKG_LIBS="-L$BREWDIR/opt/libarchive/lib $PKG_LIBS -L$BREWDIR/opt/fmt/lib/"
else
curl -sfL "https://autobrew.github.io/scripts/$PKG_BREW_NAME" > autobrew
. ./autobrew
Expand Down
2 changes: 1 addition & 1 deletion src/Makevars.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
PKG_CXXFLAGS = @PKG_CXXFLAGS@ -I. -Ixlcpp -I../inst/include/pugixml -DXLCPP_EXPORT

#PKG_LIBS=-Lpugixml -Lcfbf -L/usr/lib -larchive -L/usr/lib -lfmt
PKG_LIBS = @PKG_LIBS@ -Lpugixml -Lxlcpp -lfmt
PKG_LIBS = @PKG_LIBS@ -L../inst/include/pugixml -Lxlcpp -lfmt

PKGROOT = ./xlcpp

Expand Down

0 comments on commit c20eea6

Please sign in to comment.