mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-05 01:12:55 +03:00
configure.ac: fix linker version script detection
The detection of linker's support for version scripts fails when building outside the source tree due to missing source path to the linker script.
This commit is contained in:
1 parent
9b12571804
commit
fde93fca90
1 file changed
+1
-1
+1
-1
@@ -146,7 +146,7 @@ AX_CHECK_COMPILE_FLAG([-Wunused-result], [WARNING_CFLAGS="$WARNING_CFLAGS -Wunus
|
||||
|
||||
AC_SUBST([WARNING_CFLAGS])
|
||||
|
||||
AX_CHECK_LINK_FLAG([-Wl,--version-script=./libcoap-${LIBCOAP_API_VERSION}.map],
|
||||
AX_CHECK_LINK_FLAG([-Wl,--version-script=${srcdir}/libcoap-${LIBCOAP_API_VERSION}.map],
|
||||
[libcoap_SYMBOLS="-Wl,--version-script=\$(srcdir)/libcoap-\$(LIBCOAP_API_VERSION).map"],
|
||||
[libcoap_SYMBOLS="-export-symbols \$(srcdir)/libcoap-\$(LIBCOAP_API_VERSION).sym"])
|
||||
|
||||
|
||||
Reference in new issue
Block a user