automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Automake: How to force dynamic linking


From: address@hidden
Subject: Automake: How to force dynamic linking
Date: Wed, 26 Oct 2011 07:30:30 +0100

Please could someone inform me how to ensure that a program i create is
dynamically linked when using libtool.

In section 8.3.2 Building Libtool Libraries it states

bin_PROGRAMS = hello
     hello_SOURCES = hello.c ...
     hello_LDADD = libgettext.la

Whether hello is statically or dynamically linked with libgettext.la is
not yet known: this will depend on the configuration of libtool and the
capabilities of the host. 

I built a program with a similar setup on linux and the program was
statically linked. I would like to have it dynamically linked.


Thanks for a helpful response

address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]