mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 10:58:49 +08:00
build: Fix libc/pwd CMakeLists.txt
This commit fixes erronous assignment of lib_pwd_globals.c previously guarded by CONFIG_LIBC_PASSWD_FILE. Original Make.defs file has this in CSRCS scope. Signed-off-by: Daniel Jasinski <jasinskidaniel95szcz@gmail.com>
This commit is contained in:
parent
2eb26d04f4
commit
a09867df8c
1 changed files with 4 additions and 2 deletions
|
@ -17,10 +17,12 @@
|
|||
# the License.
|
||||
#
|
||||
# ##############################################################################
|
||||
set(SRCS lib_getpwnam.c lib_getpwnamr.c lib_getpwuid.c lib_getpwuidr.c)
|
||||
|
||||
set(SRCS lib_getpwnam.c lib_getpwnamr.c lib_getpwuid.c lib_getpwuidr.c
|
||||
lib_pwd_globals.c)
|
||||
|
||||
if(CONFIG_LIBC_PASSWD_FILE)
|
||||
list(APPEND SRCS lib_find_pwdfile.c lib_pwd_globals.c)
|
||||
list(APPEND SRCS lib_find_pwdfile.c)
|
||||
else()
|
||||
list(APPEND SRCS lib_getpwbuf.c lib_getpwbufr.c)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue