Skip to content

Commit

Permalink
cmake: Export the main function from mythfrontend.
Browse files Browse the repository at this point in the history
This function must be exported so that the Android java loader can
find it and start the application.  This export has no effect on other
platforms.
  • Loading branch information
linuxdude42 committed Jan 30, 2023
1 parent 9ba1fa6 commit b5c0a22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/programs/mythfrontend/mythfrontend.cpp
Expand Up @@ -1846,7 +1846,7 @@ static int revokeRoot (void)
}


int main(int argc, char **argv)
Q_DECL_EXPORT int main(int argc, char **argv)
{
bool bPromptForBackend = false;
bool bBypassAutoDiscovery = false;
Expand Down

0 comments on commit b5c0a22

Please sign in to comment.