[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
check_LTLIBRARIES and -module ??
From: |
Magnus Therning |
Subject: |
check_LTLIBRARIES and -module ?? |
Date: |
Wed, 19 Nov 2003 17:22:42 +0100 |
User-agent: |
Mutt/1.5.4i |
This is part of my Makefile.am for my test directory:
check_PROGRAMS = test
check_LTLIBRARIES = libtest.la
test_SOURCES = ...
test_DEPEDENCIES = libtest.la
libtest_la_SOURCES = ...
libtest_la_LDFLAGS = -module
What's above doesn't result in a shared object at all, which is what I
would have expected (-module should result in something that can be
dlopen()'ed according to the manual). Instead I only get an archive
(.a).
Modifying the last line to read
libtest_la_LDFLAGS = -module -rpath /silly
will result in both an archive and a shared object being created.
Why didn't the first work the way I wanted? Is -module broken?
/M
$ libtool --version
ltmain.sh (GNU libtool) 1.5.0a (1.1220.2.35 2003/11/12 18:51:58) Debian: 148 $
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
--
Magnus Therning mailto:address@hidden
+31-40-2745179 http://pww.innersource.philips.com/magnus/
OpenPGP:0x4FBB2C40
Philips, the company that I work for, does not support my idle ramblings.
The opposite, it goes without saying, is true as well.
signature.asc
Description: Digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- check_LTLIBRARIES and -module ??,
Magnus Therning <=