The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
289 B
20 lines
289 B
7 years ago
|
#include "libA.h"
|
||
|
|
||
|
#undef DLL_PUBLIC
|
||
|
#define BUILDING_DLL
|
||
|
#include "config.h"
|
||
|
|
||
|
namespace meson_test_as_needed {
|
||
|
namespace {
|
||
|
bool set_linked() {
|
||
|
linked = true;
|
||
|
return true;
|
||
|
}
|
||
|
bool stub = set_linked();
|
||
|
}
|
||
|
|
||
|
DLL_PUBLIC int libB_unused_func() {
|
||
|
return 0;
|
||
|
}
|
||
|
}
|