Skip to content

Commit 16f6bb4

Browse files
committed
Add missing LDFLAG -lstdc++
1 parent e55ac25 commit 16f6bb4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bindings/ruby/ext/extconf.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
# need to use c++ compiler flags
44
$CXXFLAGS << ' -std=c++11'
5+
6+
$LDFLAGS << ' -lstdc++'
7+
58
# Set to true when building binary gems
69
if enable_config('static-stdlib', false)
710
$LDFLAGS << ' -static-libgcc -static-libstdc++'

0 commit comments

Comments
 (0)