Browse Source

* fixed dependency on opengl wrongly marked as valid for all targets

git-svn-id: trunk@20358 -
Tomas Hajny 13 years ago
parent
commit
4f36dc3539
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/gtk1/fpmake.pp

+ 2 - 2
packages/gtk1/fpmake.pp

@@ -24,11 +24,11 @@ begin
     P.Description := 'Header to the GTK widgetset (v1).';
     P.Description := 'Header to the GTK widgetset (v1).';
     P.NeedLibC:= true;  // true for headers that indirectly link to libc?
     P.NeedLibC:= true;  // true for headers that indirectly link to libc?
 
 
-    P.OSes:=AllUnixOSes+[Win32,Win64]-[darwin,iphonesim];
+    P.OSes:=AllUnixOSes+[Win32,Win64,OS2,EMX]-[darwin,iphonesim];
     if Defaults.CPU<>arm then
     if Defaults.CPU<>arm then
       P.OSes := P.OSes + [darwin];
       P.OSes := P.OSes + [darwin];
 
 
-    P.Dependencies.Add('opengl');
+    P.Dependencies.Add('opengl',AllUnixOSes);
 
 
     T:=P.Targets.AddUnit('src/gdk/gdkpixbuf.pp');
     T:=P.Targets.AddUnit('src/gdk/gdkpixbuf.pp');
       with T.Dependencies do
       with T.Dependencies do