]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
automake: pass OBJC and OBJCXX tags to libtool.
authorKarl Berry <karl@freefriends.org>
Sun, 10 Dec 2023 17:57:53 +0000 (09:57 -0800)
committerKarl Berry <karl@freefriends.org>
Sun, 10 Dec 2023 17:57:53 +0000 (09:57 -0800)
This helps https://bugs.gnu.org/67539.

* bin/automake.in <register_language>: pass libtool_flag
of OBJC and OBJCXX for the respective languages.

bin/automake.in

index 820d0d541e3222ae606fe1b92034797811eba463..0a9b4a3e28c6ff13c15cafdc46e69825b5ef822f 100644 (file)
@@ -739,6 +739,7 @@ register_language ('name' => 'objc',
                   'compiler' => 'OBJCCOMPILE',
                   'compile_flag' => '-c',
                   'output_flag' => '-o',
+                  'libtool_flag' => 'OBJC',
                   'lder' => 'OBJCLD',
                   'ld' => '$(OBJC)',
                   'pure' => 1,
@@ -757,6 +758,7 @@ register_language ('name' => 'objcxx',
                   'compiler' => 'OBJCXXCOMPILE',
                   'compile_flag' => '-c',
                   'output_flag' => '-o',
+                  'libtool_flag' => 'OBJCXX',
                   'lder' => 'OBJCXXLD',
                   'ld' => '$(OBJCXX)',
                   'pure' => 1,