Skip to content

Commit

Permalink
Projucer: Don't link to webkit packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ed95 committed Apr 16, 2020
1 parent fe61354 commit 1c1f745
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Make.h
Original file line number Diff line number Diff line change
Expand Up @@ -436,12 +436,6 @@ class MakefileProjectExporter : public ProjectExporter

packages.addArray (linuxPackages);

if (isWebBrowserComponentEnabled())
{
packages.add ("webkit2gtk-4.0");
packages.add ("gtk+-x11-3.0");
}

// don't add libcurl if curl symbols are loaded at runtime
if (isCurlEnabled() && ! isLoadCurlSymbolsLazilyEnabled())
packages.add ("libcurl");
Expand All @@ -455,6 +449,12 @@ class MakefileProjectExporter : public ProjectExporter
{
auto packages = getPackages();

if (isWebBrowserComponentEnabled())
{
packages.add ("webkit2gtk-4.0");
packages.add ("gtk+-x11-3.0");
}

if (packages.size() > 0)
return "$(shell pkg-config --cflags " + packages.joinIntoString (" ") + ")";

Expand Down

0 comments on commit 1c1f745

Please sign in to comment.