Skip to content

Commit 706a266

Browse files
committed
Fix the order of linker options in CBT
In recent toolchain versions having the -l options before the .la file results in the exported functions in the libraries not being seen by the linker if LTO is disabled. Signed-off-by: Mark Syms <mark.syms@citrix.com>
1 parent 9a3bea4 commit 706a266

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cbt/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ noinst_LTLIBRARIES = libcbtutil.la
1111
libcbtutil_la_SOURCES = cbt-util.c
1212

1313
cbt_util_SOURCES = main.c
14-
cbt_util_LDADD = -lrt -luuid libcbtutil.la
14+
cbt_util_LDADD = libcbtutil.la -lrt -luuid
1515

1616
clean-local:
1717
-rm -rf *.gc??

0 commit comments

Comments
 (0)