Skip to content

Commit 7318515

Browse files
committed
test new configure for clang19
1 parent 20e2203 commit 7318515

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

configure

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ echo "PKG_LIBS: $PKG_LIBS"
5050

5151
# Check if the compiler is clang
5252
if [ "$CC" = "clang" ] || [ "$CXX" = "clang++" ]; then
53-
PKG_LIBS="$PKG_LIBS -stdlib=libc++"
53+
CXX=clang++ -stdlib=libstdc++
54+
CXXFLAGS += -stdlib=libstdc++
55+
LDFLAGS += -stdlib=libstdc++
5456
fi
5557

5658
# Tesseract 4 enforces C++11 in the headers but R does not have CXX11CPP

0 commit comments

Comments
 (0)