mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-22 17:35:55 +03:00
Link libreaddir-rand to libdl
It uses dlsym(). There's no point in being extra-portable here because OSTree only targets Linux anyway. Signed-off-by: Simon McVittie <smcv@debian.org> Closes: #336 Approved by: cgwalters
This commit is contained in:
parent
0cf0fa8154
commit
b9e18b83fd
@ -133,7 +133,10 @@ endif
|
||||
test_ltlibraries = libreaddir-rand.la
|
||||
libreaddir_rand_la_SOURCES = tests/readdir-rand.c
|
||||
libreaddir_rand_la_CFLAGS = $(OT_INTERNAL_GIO_UNIX_CFLAGS)
|
||||
libreaddir_rand_la_LIBADD = $(OT_INTERNAL_GIO_UNIX_LIBS)
|
||||
libreaddir_rand_la_LIBADD = \
|
||||
-ldl \
|
||||
$(OT_INTERNAL_GIO_UNIX_LIBS) \
|
||||
$(NULL)
|
||||
libreaddir_rand_la_LDFLAGS = -avoid-version
|
||||
if !ENABLE_INSTALLED_TESTS
|
||||
libreaddir_rand_la_LDFLAGS += -rpath $(abs_builddir)
|
||||
|
Loading…
Reference in New Issue
Block a user