We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 976a79e commit ae4035aCopy full SHA for ae4035a
base/Makefile
@@ -185,6 +185,19 @@ SYMLINK_SYSTEM_LIBRARIES += symlink_$2
185
endif
186
endef
187
188
+# libexec executables
189
+symlink_p7zip: $(build_bindir)/7z$(EXE)
190
+
191
+ifneq ($(USE_SYSTEM_P7ZIP),0)
192
+SYMLINK_SYSTEM_LIBRARIES += symlink_p7zip
193
+7Z_PATH := $(shell which 7z$(EXE))
194
+endif
195
196
+$(build_bindir)/7z$(EXE):
197
+ [ -e "$(7Z_PATH)" ] && \
198
+ ([ ! -e "$@" ] || rm "$@") && \
199
+ ln -svf "$(7Z_PATH)" "$@"
200
201
# the following excludes: libuv.a, libutf8proc.a
202
203
ifneq ($(USE_SYSTEM_LIBM),0)
0 commit comments