]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
pam_lastlog2: remove symbol that doesn't exist from version script
authorpsykose <alice@ayaya.dev>
Wed, 22 May 2024 10:23:55 +0000 (10:23 +0000)
committerpsykose <alice@ayaya.dev>
Wed, 22 May 2024 10:23:55 +0000 (10:23 +0000)
otherwise ld.lld by default errors with
ld: error: version script assignment of 'global' to symbol 'pam_sm_chauthtok' failed: symbol not defined

since the symbol is not in the library

pam_lastlog2/src/pam_lastlog2.sym

index 1633155d73e54be3758cebb387102ac059dbdbd8..88ef3e8b9dfa2ae28ed892fedad59a08b68c24c6 100644 (file)
@@ -3,9 +3,8 @@
   global:
     pam_sm_acct_mgmt;
     pam_sm_authenticate;
-    pam_sm_chauthtok;
     pam_sm_close_session;
     pam_sm_open_session;
     pam_sm_setcred;
   local: *;
-};
\ No newline at end of file
+};