PEERDIR contrib/libs/platform/linux 4 all linux
Pull-request for branch users/heretic/fix-peerdir-platform-linux
@@ -316,6 +316,7 @@ NO_GPL_FLAG=
when ($NO_GPL == "yes") {
NO_GPL_FLAG=--no-gpl
}
+NEED_PLATFORM_PEERDIRS=yes
module BASE_UNIT {
.EXTS=.*
@@ -416,7 +417,7 @@ module BASE_UNIT {
}
}
- when ($COMPILER_PLATFORM && $NOPLATFORM != "yes") {
+ when ($COMPILER_PLATFORM && $NEED_PLATFORM_PEERDIRS == "yes") {
PEERDIR+=$COMPILER_PLATFORM
}
@@ -1185,6 +1186,7 @@ module PACKAGE: BASE_UNIT {
when ($PACKED_PACKAGE_EXT) {
PACKED_PACKAGE_ARGS+=--dest-arch ${output;suf=.$PACKED_PACKAGE_EXT:REALPRJNAME}
}
+ SET(NEED_PLATFORM_PEERDIRS no)
}
module TGZ_PACKAGE: UNION {
@@ -1204,6 +1206,7 @@ module UNION: BASE_UNIT {
SET(MODULE_SUFFIX .pkg.fake)
SET(DONT_RESOLVE_INCLUDES yes)
.CMD=TOUCH_UNIT_MF
+ SET(NEED_PLATFORM_PEERDIRS no)
}
module PY_PACKAGE: UNION {
