Skip to content

Commit

Permalink
enable nss static
Browse files Browse the repository at this point in the history
  • Loading branch information
COOLSTAR committed Apr 30, 2021
1 parent ac3234a commit 7409896
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package/glibc/glibc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ define GLIBC_CONFIGURE_CMDS
--disable-profile \
--disable-werror \
--without-gd \
--enable-static-nss \
--enable-kernel=$(call qstrip,$(BR2_TOOLCHAIN_HEADERS_AT_LEAST)) \
--with-headers=$(STAGING_DIR)/usr/include)
$(GLIBC_ADD_MISSING_STUB_H)
Expand Down

1 comment on commit 7409896

@0neday
Copy link
Owner

@0neday 0neday commented on 7409896 Apr 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix erorr

warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

for x86_64, add --enable-static-nss for glibc. and select kernel header 4.9

Please sign in to comment.