mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-02-01 09:18:07 +00:00
configure.ac: remove unused dynamic linkage flag
configure.ac defines a SPICEC_STATIC_LINKAGE_BDYNAMIC variable when --enable-static-linkage is not set, but it's never used. SPICEC_STATIC_LINKAGE_BSTATIC is used in client/, but since we are using libtool, it might be more appropriate to use 'make LDFLAGS="-all-static"' to achieve static link.
This commit is contained in:
parent
36292b0740
commit
ae0a9fc1d3
@ -272,8 +272,7 @@ AC_ARG_ENABLE(static-linkage,
|
||||
[ --enable-static-linkage will generate spice client binary with static linkage to external libraries ],,
|
||||
[enable_static_linkage="no"])
|
||||
AS_IF([test x"$enable_static_linkage" != "xno"],
|
||||
[SPICEC_STATIC_LINKAGE_BSTATIC=["-Wl,-Bstatic"]],
|
||||
[SPICEC_STATIC_LINKAGE_BDYNAMIC=["-Wl,-Bdynamic"]])
|
||||
[SPICEC_STATIC_LINKAGE_BSTATIC=["-Wl,-Bstatic"]])
|
||||
|
||||
|
||||
AS_IF([test "$_cflags_is_set" = "yes"], [], [
|
||||
@ -489,7 +488,6 @@ AC_SUBST(SPICE_NONPKGCONFIG_CFLAGS)
|
||||
AC_SUBST(SPICE_NONPKGCONFIG_LIBS)
|
||||
|
||||
AC_SUBST([SPICEC_STATIC_LINKAGE_BSTATIC])
|
||||
AC_SUBST([SPICEC_STATIC_LINKAGE_BDYNAMIC])
|
||||
|
||||
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user