mirror of https://github.com/GNOME/gimp.git
plug-ins: common: fix scripts to generate Makefile.am correctly
This complements the preceding commit "plug-ins: fix the build on OS X".
This commit is contained in:
parent
f4f7b894ed
commit
b462418dfc
|
@ -185,6 +185,15 @@ ${makename}_CFLAGS = $cflagsvalue
|
||||||
EOT
|
EOT
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (exists $plugins{$_}->{cppflags}) {
|
||||||
|
my $cppflags = $plugins{$_}->{cppflags};
|
||||||
|
|
||||||
|
print MK <<EOT;
|
||||||
|
|
||||||
|
${makename}_CPPFLAGS = $cppflags
|
||||||
|
EOT
|
||||||
|
}
|
||||||
|
|
||||||
my $deplib = "\$(RT_LIBS)\t\t\\\n\t\$(INTLLIBS)";
|
my $deplib = "\$(RT_LIBS)\t\t\\\n\t\$(INTLLIBS)";
|
||||||
if (exists $plugins{$_}->{libdep}) {
|
if (exists $plugins{$_}->{libdep}) {
|
||||||
my @lib = split(/:/, $plugins{$_}->{libdep});
|
my @lib = split(/:/, $plugins{$_}->{libdep});
|
||||||
|
|
|
@ -90,6 +90,6 @@
|
||||||
'unsharp-mask' => { ui => 1 },
|
'unsharp-mask' => { ui => 1 },
|
||||||
'van-gogh-lic' => { ui => 1 },
|
'van-gogh-lic' => { ui => 1 },
|
||||||
'warp' => { ui => 1 },
|
'warp' => { ui => 1 },
|
||||||
'web-browser' => { ui => 1, ldflags => '$(framework_cocoa)', cflags => '$(xobjective_c)' },
|
'web-browser' => { ui => 1, ldflags => '$(framework_cocoa)', cppflags => '$(AM_CPPFLAGS) $(xobjective_c)' },
|
||||||
'web-page' => { ui => 1, optional => 1, libs => 'WEBKIT_LIBS', cflags => 'WEBKIT_CFLAGS' }
|
'web-page' => { ui => 1, optional => 1, libs => 'WEBKIT_LIBS', cflags => 'WEBKIT_CFLAGS' }
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue