Skip to content
Browse files

Merge pull request #435 from cavalier38/glibc-touch

glibc: Touch alien symlinks.
  • Loading branch information...
2 parents 02ecfae + 3301807 commit 8a1f08187e4b28518cbbcc57168ce2800fa2cf13 @Ratler Ratler committed Sep 6, 2013
Showing with 12 additions and 6 deletions.
  1. +6 −3 libs/glibc/BUILD
  2. +6 −3 libs/glibc/BUILD.x86_64
View
9 libs/glibc/BUILD
@@ -1,4 +1,3 @@
-(
# The fortify compiler option cause the build to fail
bad_flags -D_FORTIFY_SOURCE=2 &&
@@ -153,6 +152,10 @@
done
invoke_installwatch &&
touch /usr/lib/locale/locale-archive
- fi
+ fi &&
+
+ # Touch undetected symlinks
+ touch -c -h $LD $GLIBC $DL $M $RT $PTHREAD $NSS $UTIL $NSL $CRYPT /lib/lib{BrokenLocale.so.1,anl.so.1,cidn.so.1,nss_compat.so.2,nss_db.so.2,nss_dns.so.2,nss_hesiod.so.2,nss_nis.so.2,nss_nisplus.so.2,resolv.so.2,thread_db.so.1} &&
+ touch -c -h /usr/lib/lib{BrokenLocale,anl,cidn,crypt,dl,m,nsl,nss_compat,nss_db,nss_dns,nss_files,nss_hesiod,nss_nis,nss_nisplus,resolv,rt,thread_db,util}.so &&
-) > $C_FIFO 2>&1 && ldconfig
+ ldconfig
View
9 libs/glibc/BUILD.x86_64
@@ -1,4 +1,3 @@
-(
# The fortify compiler option cause the build to fail
bad_flags -D_FORTIFY_SOURCE=2 &&
@@ -143,6 +142,10 @@
done
invoke_installwatch &&
touch /usr/lib/locale/locale-archive
- fi
+ fi &&
+
+ # Touch undetected symlinks
+ touch -c -h $LD $GLIBC $DL $M $RT $PTHREAD $NSS $UTIL $NSL $CRYPT /lib/lib{BrokenLocale.so.1,anl.so.1,cidn.so.1,nss_compat.so.2,nss_db.so.2,nss_dns.so.2,nss_hesiod.so.2,nss_nis.so.2,nss_nisplus.so.2,resolv.so.2,thread_db.so.1} &&
+ touch -c -h /usr/lib/lib{BrokenLocale,anl,cidn,crypt,dl,m,nsl,nss_compat,nss_db,nss_dns,nss_files,nss_hesiod,nss_nis,nss_nisplus,resolv,rt,thread_db,util}.so &&
-) > $C_FIFO 2>&1 && ldconfig
+ ldconfig

0 comments on commit 8a1f081

Please sign in to comment.
Something went wrong with that request. Please try again.