summaryrefslogtreecommitdiff
path: root/scp2/inc
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-02-04 16:49:08 +0100
committerMichael Stahl <mstahl@redhat.com>2014-02-04 16:50:18 +0100
commit79ab9d7b6ede19bc494770bba6cc59bd4618d5ae (patch)
tree43e91538cf0c75f083ad7fa282acb66ba79b70c5 /scp2/inc
parentf985e3add3870c1dee7fe88d37388281a333403a (diff)
fdo#74495: gbuild: AutoInstall: add support for ComponentCondition
... via new scp2 macro LIBO_LIB_FILE_COMPONENTCONDITION. (regression from 2feb756dd5ff486a3972cf676f6f1d07017bf0f6) Change-Id: I6ab30cc1c14c34bd7dc1325e3f98d972544e7eea
Diffstat (limited to 'scp2/inc')
-rwxr-xr-xscp2/inc/macros.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/scp2/inc/macros.inc b/scp2/inc/macros.inc
index d95c364bbe38..1ec649d652c6 100755
--- a/scp2/inc/macros.inc
+++ b/scp2/inc/macros.inc
@@ -158,6 +158,13 @@
Styles = (PACKED, BINARYTABLE, BINARYTABLE_ONLY); \
End
+#define LIBO_LIB_FILE_COMPONENTCONDITION(id,name,cond) \
+ File id \
+ Name = name; \
+ PACKED_LIB_FILE_BODY; \
+ ComponentCondition = cond; \
+ End
+
#define STD_LIB_FILE(id,name) \
File id \
Name = LIBNAME(name); \