mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
14 lines
553 B
Diff
14 lines
553 B
Diff
|
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))
|