mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
bb2716d232
svn path=/nixpkgs/trunk/; revision=28713
22 lines
1.3 KiB
Diff
22 lines
1.3 KiB
Diff
diff -x _inst -x _build -x .svn -ur comm-miramar/config/rules.mk comm-miramar.after/config/rules.mk
|
|
--- comm-miramar/config/rules.mk 2011-06-24 22:13:31.000000000 +0200
|
|
+++ comm-miramar/config/rules.mk 2011-08-15 12:27:07.305556040 +0200
|
|
@@ -851,9 +851,13 @@
|
|
|
|
ifndef _LIBNAME_RELATIVE_PATHS
|
|
|
|
-LIBS_DEPS += $(filter -l%, $(LIBS))
|
|
-HOST_LIBS_DEPS += $(filter -l%, $(HOST_LIBS))
|
|
-DSO_LDOPTS_DEPS += $(filter -l%, $(EXTRA_DSO_LDOPTS))
|
|
+LIBS_DEPS += $(patsubst -l%,$(LIB_PREFIX)%$(DLL_SUFFIX),$(filter-out -lpthread -ldl -lrt -ljemalloc -lmozmalloc,$(filter -l%, $(LIBS))))
|
|
+HOST_LIBS_DEPS += $(patsubst -l%,$(LIB_PREFIX)%$(DLL_SUFFIX),$(filter-out -lpthread -ldl -lrt -ljemalloc -lmozmalloc,$(filter -l%, $(HOST_LIBS))))
|
|
+DSO_LDOPTS_DEPS += $(patsubst -l%,$(LIB_PREFIX)%$(DLL_SUFFIX),$(filter-out -lpthread -ldl -lrt -ljemalloc -lmozmalloc,$(filter -l%, $(EXTRA_DSO_LDOPTS))))
|
|
+
|
|
+LIBS_DEPS += $(patsubst -l%,$(LIB_PREFIX)%.$(LIB_SUFFIX),$(filter -ljemalloc -lmozmalloc, $(LIBS)))
|
|
+HOST_LIBS_DEPS += $(patsubst -l%,$(LIB_PREFIX)%.$(LIB_SUFFIX),$(filter -ljemalloc -lmozmalloc, $(HOST_LIBS)))
|
|
+DSO_LDOPTS_DEPS += $(patsubst -l%,$(LIB_PREFIX)%.$(LIB_SUFFIX),$(filter -ljemalloc -lmozmalloc, $(EXTRA_DSO_LDOPTS)))
|
|
|
|
_LIBDIRS = $(patsubst -L%,%,$(filter -L%, $(LIBS) $(HOST_LIBS) $(EXTRA_DSO_LDOPTS)))
|
|
ifneq (,$(_LIBDIRS))
|
|
Seulement dans comm-miramar.after/config: rules.mk~
|