Skip to content

Commit e9fa8c9

Browse files
author
Yagiz Nizipli
committed
build: add ldlibs for std::filesystem
1 parent 127d263 commit e9fa8c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common.gypi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,7 @@
402402
'cflags_cc': [ '-fno-rtti', '-fno-exceptions', '-std=gnu++17' ],
403403
'defines': [ '__STDC_FORMAT_MACROS' ],
404404
'ldflags': [ '-rdynamic' ],
405+
'ldlibs': [ '-lstdc++fs' ],
405406
'target_conditions': [
406407
# The 1990s toolchain on SmartOS can't handle thin archives.
407408
['_type=="static_library" and OS=="solaris"', {

0 commit comments

Comments
 (0)