mirror of https://github.com/wb2osz/direwolf.git
For Linux builds, if strlcpt and strlcat are already provided, cmake is given an empty list of sources to build for the "misc" library. Newer versions of cmake throw an error for this. In this case, we should just avoid building the library. Failure pattern: CMake Error at external/misc/CMakeLists.txt:35 (add_library): No SOURCES given to target: misc CMake Generate step failed. Build files cannot be regenerated correctly. Fixes #319 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
README | ||
strcasestr.c | ||
strlcat.c | ||
strlcpy.c | ||
strsep.c | ||
strtok_r.c |
README
Files in this directory fill in the gaps missing for some operating systems. -------------------------------------- These are part of the standard C library for Linux, BSD Unix, and similar operating systems. They are not present for MS Windows so we need to supply our own copy. From http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/net/tnftp/files/libnetbsd/strsep.c and other BSD locations. strsep.c strcasestr.c strtok_r.c -------------------------------------- These are needed for the Linux and Windows versions. They should be part of the standard C library for OpenBSD, FreeBSD, Mac OS X. http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/net/tnftp/files/libnetbsd/strlcpy.c http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/net/tnftp/files/libnetbsd/strlcat.c strlcpy.c strlcat.c