lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 58f81cc4 07/13: For $(build_type) 'so_test',


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 58f81cc4 07/13: For $(build_type) 'so_test', always set $(USE_SO_ATTRIBUTES)
Date: Tue, 7 Jun 2022 16:39:09 -0400 (EDT)

branch: master
commit 58f81cc4ed81c4d2a9d723533df1618fea17c198
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    For $(build_type) 'so_test', always set $(USE_SO_ATTRIBUTES)
    
    Build type 'so_test' uses its own build directory.
    $(USE_SO_ATTRIBUTES) enables shared-object attributes.
    Those are orthogonal concepts.
    
    However, the sole purpose of 'so_test' is to test shared-object
    attributes, so it's senseless to use it without such attributes.
    
    It remains possible to use such attributes without 'so_test',
    though no lmi test or script does so.
---
 workhorse.make | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/workhorse.make b/workhorse.make
index cca05cc2..cf1dc8b5 100644
--- a/workhorse.make
+++ b/workhorse.make
@@ -79,6 +79,10 @@ $(srcdir)/objects.make:: ;
 
 
################################################################################
 
+ifeq (so_test,$(findstring so_test,$(build_type)))
+  USE_SO_ATTRIBUTES=1
+endif
+
 # Override this variable to exclude targets that are inappropriate in
 # context--e.g., targets that don't even compile with a particular
 # $(build_type).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]