Changeset 1420


Ignore:
Timestamp:
Dec 13, 2002, 1:46:34 AM (18 years ago)
Author:
jkh
Message:

Final tweak to dynamic search code.

Location:
trunk/dports/games/xracer/files
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/games/xracer/files/patch-craft.c

    r1417 r1420  
    2626   /* See if we can open this track. Make sure we resolve all link-time
    2727    * errors now, and make sure that symbols from the track don't pollute
    28 @@ -130,7 +130,7 @@
    29      }
    30  
    31    /* The shared library contains one symbol of interest: ``craft'' */
    32 -  craft_struct = dlsym (lib, "craft");
    33 +  craft_struct = dlsym (lib, "_craft");
    34  
    35    /* This is OK. This symbol should never actually be NULL. */
    36    if (craft_struct == NULL)
  • trunk/dports/games/xracer/files/patch-track.c

    r1417 r1420  
    1010   return xrTrackLoadByFilename (filename);
    1111 }
    12 @@ -104,7 +104,7 @@
    13      }
    14  
    15    /* The shared library contains one symbol of interest: ``track'' */
    16 -  track_struct = dlsym (lib, "track");
    17 +  track_struct = dlsym (lib, "_track");
    18  
    19    /* This is OK. This symbol should never actually be NULL. */
    20    if (track_struct == NULL)
Note: See TracChangeset for help on using the changeset viewer.