Commit | Line | Data |
---|---|---|
80ccb2b3 RS |
1 | #include "intel386.h" |
2 | ||
3 | #ifndef __GNUC__ | |
4 | /* Allow emacs to link with "bcopy()" unresolved. Works around a | |
5 | problem where /usr/lib/libX11.so provides bcopy, but | |
6 | /usr/ccs/lib/libX11.so does not. */ | |
7 | #define LD_SWITCH_X_DEFAULT -Wl,-z,nodefs | |
8 | #else /* __GNUC__ */ | |
9 | ||
10 | /* Assuming we are using GNU ld, pass a -R option to it | |
11 | so that shared libraries will be found at execution time | |
12 | just as they are found at link time. */ | |
13 | #define LD_SWITCH_X_DEFAULT -Xlinker LD_SWITCH_X_SITE_AUX | |
14 | ||
15 | #endif /* __GNUC__ */ |