Mercurial > emacs
comparison src/s/openbsd.h @ 74123:8a39f8452a5b
(LD_SWITCH_SYSTEM): Remove /usr/pkg/lib and /usr/pkg/lib from
the library search path.
(LD_SWITCH_X_DEFAULT): New macro.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Wed, 22 Nov 2006 15:17:47 +0000 |
parents | 42f110ee25ea |
children | f1d13e615070 19fdc244bab9 |
comparison
equal
deleted
inserted
replaced
74122:92f9d0430fab | 74123:8a39f8452a5b |
---|---|
19 | 19 |
20 #undef LD_SWITCH_SYSTEM_TEMACS | 20 #undef LD_SWITCH_SYSTEM_TEMACS |
21 #undef LD_SWITCH_SYSTEM | 21 #undef LD_SWITCH_SYSTEM |
22 #ifdef __ELF__ | 22 #ifdef __ELF__ |
23 | 23 |
24 /* Han Boetes <han@mijncomputer.nl> says this | 24 /* Han Boetes <han@mijncomputer.nl> says this |
25 is necessary, otherwise Emacs dumps core on elf systems. */ | 25 is necessary, otherwise Emacs dumps core on elf systems. */ |
26 #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Z -L/usr/pkg/lib -L/usr/local/lib | 26 #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Z |
27 | |
28 /* The version of gcc on OpenBSD doesn't search /usr/local/lib by | |
29 default. */ | |
30 #define LD_SWITCH_X_DEFAULT -L/usr/local/lib | |
27 | 31 |
28 #else | 32 #else |
29 | 33 |
30 #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -L/usr/pkg/lib -L/usr/local/lib | 34 #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp |
35 #define LD_SWITCH_X_DEFAULT -L/usr/local/lib | |
31 | 36 |
32 #endif | 37 #endif |
33 | 38 |
34 /* arch-tag: 7e3f65ca-3f48-4237-933f-2b208b21e8e2 | 39 /* arch-tag: 7e3f65ca-3f48-4237-933f-2b208b21e8e2 |
35 (do not change this comment) */ | 40 (do not change this comment) */ |