]> granicus.if.org Git - handbrake/commitdiff
build: fix configure error created by flatpak commit
authorJohn Stebbins <jstebbins.hb@gmail.com>
Wed, 31 Aug 2016 15:56:28 +0000 (08:56 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Wed, 31 Aug 2016 15:56:28 +0000 (08:56 -0700)
make/configure.py

index 5952b22ac821e1f5729484b6da6c7b3b12bc842b..d4a0dff5a0927e0585471e5a733109276c4915b9 100644 (file)
@@ -1346,8 +1346,8 @@ def createCLI():
     h = IfHost( 'Build and use local pkg-config', '*-*-darwin*', none=optparse.SUPPRESS_HELP ).value
     grp.add_option( '--enable-local-pkgconfig', default=False, action='store_true', help=h )
 
-    if host.match( '*-*-linux*' ):
-        grp.add_option( '--flatpak', default=False, action='store_true', help='Build extra contribs for flatpak' )
+    h = IfHost( 'Build extra contribs for flatpak packaging', '*-*-linux*', none=optparse.SUPPRESS_HELP ).value
+    grp.add_option( '--flatpak', default=False, action='store_true', help=h )
     cli.add_option_group( grp )