mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
force pystub to be linked into interrogate and interrogate_module
This commit is contained in:
parent
b7eb296cff
commit
05aa20ee3f
@ -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;
|
||||||
|
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user