aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSteven Tamm2004-09-02 17:02:11 +0000
committerSteven Tamm2004-09-02 17:02:11 +0000
commit640a07706b1bdd45a0cbaadd49b72d2c5d79377b (patch)
tree177fcbb90622f6c7a998de9938a322238475e56e /src
parentb15de4146bcbd6efa054b2c6235c733f42d8bfc2 (diff)
downloademacs-640a07706b1bdd45a0cbaadd49b72d2c5d79377b.tar.gz
emacs-640a07706b1bdd45a0cbaadd49b72d2c5d79377b.zip
(LIBS_CARBON): New define to specify libraries for
Carbon support. (LD_SWITCH_SYSTEM_TEMACS): Don't link with unused libstdc++. Use LIBS_CARBON.
Diffstat (limited to 'src')
-rw-r--r--src/s/darwin.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/s/darwin.h b/src/s/darwin.h
index 814de2c2c51..f854ed9380b 100644
--- a/src/s/darwin.h
+++ b/src/s/darwin.h
@@ -243,11 +243,18 @@ Boston, MA 02111-1307, USA. */
243 specific headers. */ 243 specific headers. */
244#define C_SWITCH_SYSTEM -fpascal-strings -fno-common -DMAC_OSX -I../mac/src 244#define C_SWITCH_SYSTEM -fpascal-strings -fno-common -DMAC_OSX -I../mac/src
245 245
246/* Link in the Carbon lib. The -headerpad option tells ld (see man 246/* Link in the Carbon lib. */
247 page) to leave room at the end of the header for adding load 247#ifdef HAVE_CARBON
248 commands. Needed for dumping. 0x690 is the total size of 30 248#define LIBS_CARBON -framework Carbon -framework QuickTime
249 segment load commands (at 56 each). */ 249#else
250#define LD_SWITCH_SYSTEM_TEMACS -prebind -framework Carbon -framework QuickTime -lstdc++ -Xlinker -headerpad -Xlinker 690 250#define LIBS_CARBON -framework Carbon
251#endif
252
253/* The -headerpad option tells ld (see man page) to leave room at the
254 end of the header for adding load commands. Needed for dumping.
255 0x690 is the total size of 30 segment load commands (at 56
256 each). */
257#define LD_SWITCH_SYSTEM_TEMACS -prebind LIBS_CARBON -Xlinker -headerpad -Xlinker 690
251 258
252#define C_SWITCH_SYSTEM_TEMACS -Dtemacs 259#define C_SWITCH_SYSTEM_TEMACS -Dtemacs
253 260