Browse Source

* Darwin only has 8-bit char version of the library

Michaël Van Canneyt 1 year ago
parent
commit
8e6bc090c2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/libpcre/fpmake.pp

+ 2 - 0
packages/libpcre/fpmake.pp

@@ -35,11 +35,13 @@ begin
           AddInclude('pcreconst.inc');
         end;
     T:=P.Targets.AddUnit('libpcre2_16.pp');
+    T.OSes:=[Win64,Linux];
       with T.Dependencies do
         begin
           AddInclude('pcreconst.inc');
         end;
     T:=P.Targets.AddUnit('libpcre2_32.pp');
+    T.OSes:=[Win64,Linux];
     P.ExamplePath.Add('examples');
     P.Targets.AddExampleProgram('tpcre.pp');
     P.NamespaceMap:='namespaces.lst';