From 6b97415996583b15a97dad8254f610275353e913 Mon Sep 17 00:00:00 2001 From: Ting-Wei Lan Date: Sat, 18 May 2019 12:08:49 +0200 Subject: gremlin: Adjust tests for foreign distros. Fixes . * tests/gremlin.scm ("elf-dynamic-info-needed, executable"): Expect only libguile and libc among NEEDED. ("strip-runpath"): Pass '--enable-new-dtags' to get RUNPATH, not RPATH. --- tests/gremlin.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/gremlin.scm b/tests/gremlin.scm index 77a5dc1998..b0bb7a8e49 100644 --- a/tests/gremlin.scm +++ b/tests/gremlin.scm @@ -52,7 +52,7 @@ (or (not dyninfo) ;static executable (lset<= string=? (list (string-append "libguile-" (effective-version)) - "libgc" "libunistring" "libffi") + "libc") (map (lambda (lib) (string-take lib (string-contains lib ".so"))) (elf-dynamic-info-needed dyninfo)))))) @@ -79,7 +79,7 @@ (lambda (port) (display "int main () { puts(\"hello\"); }" port))) (invoke c-compiler "t.c" - "-Wl,-rpath=/foo" "-Wl,-rpath=/bar") + "-Wl,--enable-new-dtags" "-Wl,-rpath=/foo" "-Wl,-rpath=/bar") (let* ((dyninfo (elf-dynamic-info (parse-elf (call-with-input-file "a.out" get-bytevector-all)))) -- cgit v1.2.3 itdiff
AgeCommit message (Expand)Author
2018-11-21gnu: libbytesize: Make .mo file builds reproducible....Ludovic Courtès
2018-11-08gnu: pcc: Use INVOKE....Ricardo Wurmus
2018-10-24gnu: libbytesize: Update to 1.4....Tobias Geerinckx-Rice
2018-08-27Update email for Pierre Neidhardt....Pierre Neidhardt
2018-07-30gnu: Add libbytesize....Pierre Neidhardt
2018-04-30gnu: tcc-wrapper: Use Guile 2.2....Ludovic Courtès
2018-01-19gnu: tcc: Update to 0.9.27....Tobias Geerinckx-Rice