automake
[Top][All Lists]
Advanced

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

Library locations


From: Russell Shaw
Subject: Library locations
Date: Mon, 06 Aug 2007 03:49:49 +1000
User-agent: Thunderbird 1.5.0.2 (X11/20060501)

Hi,
In automake.am, i have:

  System_LTLIBRARIES = system.la
  system_la_SOURCES = modules/System/system.c
  system_la_LDFLAGS = -module

This compiles ok. However, it puts system.la in the top level src directory.


I want it to be like:

  System_LTLIBRARIES = modules/System/system.la
  modules_System_system_la_SOURCES = modules/System/system.c
  modules_System_system_la_LDFLAGS = -module


That makes "modules/System/system.la" ok, but it still puts
system.o and system.lo in the top level src directory.

That means the program won't work in the uninstalled state,
because dlopen is looking for system.o as modules/System/system.o.




reply via email to

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