nixpkgs/pkgs/by-name/li/libxsmm/rpath.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
553 B
Diff
Raw Normal View History

2024-08-28 13:41:32 +00:00
diff --git a/Makefile.inc b/Makefile.inc
index 424d7b2e4..87934fee0 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -918,7 +918,7 @@ ifneq (Darwin,$(UNAME))
XLNKVERBOSE := --verbose
linkopt = $(if $1,$(XLNKOPT)$(if $2,$1=$(call quote,$2),$1))
abslibrpath = $(strip $(if $(findstring .$(ILIBEXT),$1)$(wildcard $1/), \
- $(call linkopt,--rpath,$(call qxdir,$(call qapath,$1)))))
+ $(call linkopt,--rpath,$(PREFIX)/lib)))
XGROUP_BEGIN := $(call linkopt,--start-group)
XGROUP_END := $(call linkopt,--end-group)
ifneq (0,$(ASNEEDED))