freetype-commit
[Top][All Lists]
Advanced

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

[freetype2] master 83c877f: [mac] Fix ftexport.sym target in Jamfile.


From: suzuki toshiya
Subject: [freetype2] master 83c877f: [mac] Fix ftexport.sym target in Jamfile.
Date: Sat, 9 Jul 2016 05:10:08 +0000 (UTC)

branch: master
commit 83c877f11c6cbd99cb203447d248748ad45624c3
Author: suzuki toshiya <address@hidden>
Commit: suzuki toshiya <address@hidden>

    [mac] Fix ftexport.sym target in Jamfile.
    
    * Jamfile: Update the directories of the header files scanned for
    ftexport.sym.  They were incorrect since the migration of the
    header files, on 2015-06-22.  Either inexisting include/cache
    (removed on 2006-03-20) is not needed to be listed explicitly.
    Now ftmac.h is scanned only in the case of Mac OS & Mac OS X.
---
 ChangeLog |   10 ++++++++++
 Jamfile   |   17 +++++++++++++++--
 2 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 199ed91..9a834c5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2016-07-09  suzuki toshiya  <address@hidden>
+
+       [mac] Fix ftexport.sym target in Jamfile.
+
+       * Jamfile: Update the directories of the header files scanned for
+       ftexport.sym.  They were incorrect since the migration of the
+       header files, on 2015-06-22.  Either inexisting include/cache
+       (removed on 2006-03-20) is not needed to be listed explicitly.
+       Now ftmac.h is scanned only in the case of Mac OS & Mac OS X.
+
 2016-07-08  Alexei Podtelezhnikov  <address@hidden>
 
        [smooth] Sub-banding protocol revision.
diff --git a/Jamfile b/Jamfile
index 0d3ef23..16ab6ec 100644
--- a/Jamfile
+++ b/Jamfile
@@ -161,7 +161,20 @@ SubInclude FT2_TOP $(FT2_SRC_DIR) tools ;
 rule GenExportSymbols
 {
   local  apinames = apinames$(SUFEXE) ;
-  local  headers  = [ Glob $(2) : *.h ] ;
+  local  aheader ;
+  local  headers ;
+
+  for aheader in [ Glob $(2) : *.h ]
+  {
+    switch $(aheader)
+    {
+      case */ftmac.h :
+        if ( $(MAC) || $(OS) = MACOSX ) {
+          headers += $(aheader) ;
+        }
+      case *.h : headers += $(aheader) ;
+    }
+  }
 
   LOCATE on $(1) = $(ALL_LOCATE_TARGET) ;
 
@@ -177,7 +190,7 @@ actions GenExportSymbols1 bind APINAMES
   $(APINAMES) $(2) > $(1)
 }
 
-GenExportSymbols  ftexport.sym : include include/cache ;
+GenExportSymbols  ftexport.sym : include/freetype ;
 
 # Test files (hinter debugging).  Only used by FreeType developers.
 #



reply via email to

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