Hi, Just noticed I should probably have build with configure --enable-tests-rpath. I only noticed today on the dwarf branch because of the new ELFUTILS_PRIVATE_TMP.
Why isn't this the default? Also the spelling of BUILD_RPATH/BUILT_RPATH isn't consistent in tests/Makefile.am. I assume it should always be the first. Is the attached patch OK? Thanks, Mark
diff --git a/tests/Makefile.am b/tests/Makefile.am index b317553..3c37cb3 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -28,7 +28,7 @@ include $(top_srcdir)/config/eu.am if MUDFLAP BUILD_RPATH = \$$ORIGIN/../backends else -BUILT_RPATH = \$$ORIGIN/../libasm:\$$ORIGIN/../libdw:\$$ORIGIN/../backends:\$$ORIGIN/../libelf +BUILD_RPATH = \$$ORIGIN/../libasm:\$$ORIGIN/../libdw:\$$ORIGIN/../backends:\$$ORIGIN/../libelf endif AM_LDFLAGS = @@ -42,7 +42,7 @@ AM_LDFLAGS += -Wl,-rpath-link,../libasm:../libdw:../libelf endif if TESTS_RPATH -AM_LDFLAGS += -Wl,-rpath,$(BUILT_RPATH) +AM_LDFLAGS += -Wl,-rpath,$(BUILD_RPATH) tests_rpath = yes else tests_rpath = no
_______________________________________________ elfutils-devel mailing list [email protected] https://fedorahosted.org/mailman/listinfo/elfutils-devel
