[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC: Building a Shared Library
From: |
Harlan Stenn |
Subject: |
Re: RFC: Building a Shared Library |
Date: |
Tue, 29 Jul 2003 20:25:49 -0400 |
User-agent: |
EMH/1.10.0 SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) XEmacs/21.1 (patch 12) (Channel Islands) (i386--freebsd) |
Alexandre,
I noticed:
> Or we could simply use an Automake conditional as follows.
>
> lib_LTLIBRARIES = libhello.la
> if LINUX
> libhello_la_SOURCES = hello-linux.c hello-common.c
> else
> libhello_la_SOURCES = hello-generic.c hello-common.c
> endif
and immediately wondered if one could say:
lib_LTLIBRARIES = libhello.la
libhello_la_SOURCES = hello-common.c
if LINUX
libhello_la_SOURCES+= hello-linux.c
else
libhello_la_SOURCES+= hello-generic.c
endif
As I recall, there *used* to be a problem with this. I don't know if it has
been fixed or not.
H
- AC_LIBOBJ and C++, Norman Gray, 2003/07/22
- Re: RFC: Building a Shared Library, Ralf Corsepius, 2003/07/30
- Re: RFC: Building a Shared Library, Guido Draheim, 2003/07/30
- Re: RFC: Building a Shared Library, Alexandre Duret-Lutz, 2003/07/30
- Re: RFC: Building a Shared Library (take 2), Alexandre Duret-Lutz, 2003/07/30