force pystub to be linked into interrogate and interrogate_module

This commit is contained in:
rdb 2012-07-20 10:10:38 +00:00
parent b7eb296cff
commit 05aa20ee3f
2 changed files with 6 additions and 0 deletions

View File

@ -305,6 +305,9 @@ predefine_macro(CPPParser& parser, const string& inoption) {
int int
main(int argc, char **argv) { main(int argc, char **argv) {
// A call to pystub() to force libpystub.so to be linked in.
pystub();
preprocess_argv(argc, argv); preprocess_argv(argc, argv);
string command_line; string command_line;
int i; int i;

View File

@ -238,6 +238,9 @@ int main(int argc, char *argv[]) {
extern int optind; extern int optind;
int flag; int flag;
// A call to pystub() to force libpystub.so to be linked in.
pystub();
preprocess_argv(argc, argv); preprocess_argv(argc, argv);
flag = getopt_long_only(argc, argv, short_options, long_options, NULL); flag = getopt_long_only(argc, argv, short_options, long_options, NULL);
while (flag != EOF) { while (flag != EOF) {