directvt / vtm

Text-based desktop environment
MIT License
1.63k stars 43 forks source link

Using `::getpwuid` prevents static linking #520

Closed o-sdn-o closed 11 months ago

o-sdn-o commented 11 months ago
[1/2] Building CXX object CMakeFiles/vtm.dir/src/vtm.cpp.o
[2/2] Linking CXX executable vtm
/usr/bin/ld: CMakeFiles/vtm.dir/src/vtm.cpp.o: in function `netxs::os::env::user[abi:cxx11]()':
vtm.cpp:(.text+0x32ea2): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking