File tree Expand file tree Collapse file tree 13 files changed +48
-3
lines changed Expand file tree Collapse file tree 13 files changed +48
-3
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,18 @@ Most autotools projects can be properly staged using:
151
151
152
152
$(MAKE) DESTDIR=$($(package)_staging_dir) install
153
153
154
+ ## Build outputs:
155
+
156
+ In general, the output of a depends package should not contain any libtool
157
+ archives. Instead, the package should output ` .pc ` (` pkg-config ` ) files where
158
+ possible.
159
+
160
+ From the [ Gentoo Wiki entry] ( https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Handling_Libtool_Archives ) :
161
+
162
+ > Libtool pulls in all direct and indirect dependencies into the .la files it
163
+ > creates. This leads to massive overlinking, which is toxic to the Gentoo
164
+ > ecosystem, as it leads to a massive number of unnecessary rebuilds.
165
+
154
166
## Secondary dependencies:
155
167
156
168
Secondary dependency packages relative to the bitcoin binaries/libraries (i.e.
Original file line number Diff line number Diff line change @@ -21,3 +21,7 @@ define $(package)_stage_cmds
21
21
$(MAKE ) -C dbus DESTDIR=$($(package ) _staging_dir) install-libLTLIBRARIES install-dbusincludeHEADERS install-nodist_dbusarchincludeHEADERS && \
22
22
$(MAKE ) DESTDIR=$($(package ) _staging_dir) install-pkgconfigDATA
23
23
endef
24
+
25
+ define $(package)_postprocess_cmds
26
+ rm lib/*.la
27
+ endef
Original file line number Diff line number Diff line change 20
20
define $(package)_stage_cmds
21
21
$(MAKE ) DESTDIR=$($(package ) _staging_dir) install
22
22
endef
23
+
24
+ define $(package)_postprocess_cmds
25
+ rm lib/*.la
26
+ endef
Original file line number Diff line number Diff line change 26
26
define $(package)_stage_cmds
27
27
$(MAKE ) DESTDIR=$($(package ) _staging_dir) install
28
28
endef
29
+
30
+ define $(package)_postprocess_cmds
31
+ rm lib/*.la
32
+ endef
Original file line number Diff line number Diff line change 20
20
define $(package)_stage_cmds
21
21
$(MAKE ) DESTDIR=$($(package ) _staging_dir) install
22
22
endef
23
+
24
+ define $(package)_postprocess_cmds
25
+ rm lib/*.la
26
+ endef
Original file line number Diff line number Diff line change 25
25
define $(package)_stage_cmds
26
26
$(MAKE ) DESTDIR=$($(package ) _staging_dir) install
27
27
endef
28
+
29
+ define $(package)_postprocess_cmds
30
+ rm lib/*.la
31
+ endef
Original file line number Diff line number Diff line change 25
25
define $(package)_stage_cmds
26
26
$(MAKE ) DESTDIR=$($(package ) _staging_dir) install
27
27
endef
28
+
29
+ define $(package)_postprocess_cmds
30
+ rm lib/*.la
31
+ endef
Original file line number Diff line number Diff line change 24
24
define $(package)_stage_cmds
25
25
$(MAKE ) DESTDIR=$($(package ) _staging_dir) install
26
26
endef
27
+
28
+ define $(package)_postprocess_cmds
29
+ rm lib/*.la
30
+ endef
Original file line number Diff line number Diff line change @@ -27,4 +27,5 @@ define $(package)_stage_cmds
27
27
endef
28
28
29
29
define $(package)_postprocess_cmds
30
+ rm lib/*.la
30
31
endef
Original file line number Diff line number Diff line change @@ -32,5 +32,5 @@ define $(package)_stage_cmds
32
32
endef
33
33
34
34
define $(package)_postprocess_cmds
35
- rm -rf share/man share/doc
35
+ rm -rf share/man share/doc lib/*.la
36
36
endef
You can’t perform that action at this time.
0 commit comments