]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
I noticed that my programs were not linking with the shared libs. Apparently
authorDean Roehrich <roehrich@sgi.com>
Tue, 31 Jul 2001 21:29:24 +0000 (21:29 +0000)
committerDean Roehrich <roehrich@sgi.com>
Tue, 31 Jul 2001 21:29:24 +0000 (21:29 +0000)
commitbb6be01679c9226e2562b4a8b0c8a94749a9e4fe
tree5beadba5c07ef6069420b06794a79b9ac9cd6800
parent15e12e6dcf227b2257c7459ad9715e552051bbcb
I noticed that my programs were not linking with the shared libs.  Apparently
if you say something like (from the dmapi tests stuff):

gcc -g -O2 -o dm_handle dm_handle.o libdmtest.a -ldm -lhandle

it will link with whatever it finds in /usr/lib.  If there are no shared libs
there then it'll link with the static libs.  When I add a symlink to make
libdm.so and libhandle.so appear in /usr/lib then I am able to link to the
shared libs.
No Message Supplied
include/builddefs.in