[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: I just want to add a .o to the link line
From: |
Tom Tromey |
Subject: |
Re: I just want to add a .o to the link line |
Date: |
31 Jul 2001 00:01:45 -0600 |
>>>>> "Thomas" == Thomas Gagne <address@hidden> writes:
Thomas> lib_LTLIBRARIES = libsybapi11.la
Thomas> libsybapi11_la_SOURCES = gssybpublic.c gssybapi.c gssybcommon.c
Thomas> libsybapi11_la_LIBADD = $(GEMSTONE)/lib/gciualib.o
You want this to be `$(GEMSTONE)/lib/gciualib.lo'.
If you can't make that happen then you're in trouble.
What if the gciualib.o isn't built with pic? Then it won't work in a
shared library (roughly).
You could hack around this restriction:
myobj.lo: $(GEMSTONE)/lib/gciualib.o
cp $(GEMSTONE)/lib/gciualib.o myobj.lo
libsybapi11_la_LIBADD = myobj.lo
This is probably a bad idea.
Tom