This reverts commit d285be763f
.
This is part of #10628 and needs to be reverted, as it breaks other
things.
See https://github.com/mesonbuild/meson/pull/10628#issuecomment-1230560772
pull/10976/head
parent
4533dfc279
commit
f9d6ae8d57
5 changed files with 0 additions and 31 deletions
@ -1,9 +0,0 @@ |
||||
// Source: https://lists.gnu.org/archive/html/libtool/2002-07/msg00025.html
|
||||
|
||||
#include <stdio.h> |
||||
|
||||
extern int l2; |
||||
void l1(void) |
||||
{ |
||||
printf("l1 %d\n", l2); |
||||
} |
@ -1,7 +0,0 @@ |
||||
// Source: https://lists.gnu.org/archive/html/libtool/2002-07/msg00025.html
|
||||
|
||||
int l2; |
||||
void l2_func(void) |
||||
{ |
||||
l2 = 77; |
||||
} |
@ -1,6 +0,0 @@ |
||||
# Source: https://lists.gnu.org/archive/html/libtool/2002-07/msg00025.html |
||||
|
||||
project('global variable test', 'c') |
||||
|
||||
lib = static_library('mylib', 'libfile.c', 'libfile2.c') |
||||
test('global variable', executable('prog', 'prog.c', link_with: lib)) |
@ -1,2 +0,0 @@ |
||||
[binaries] |
||||
ar = 'ar' |
@ -1,7 +0,0 @@ |
||||
// Source: https://lists.gnu.org/archive/html/libtool/2002-07/msg00025.html
|
||||
|
||||
extern void l1(void); |
||||
int main(void) |
||||
{ |
||||
l1(); |
||||
} |
Loading…
Reference in new issue