mirror of
https://github.com/openvswitch/ovs
synced 2025-08-22 01:51:26 +00:00
* Update upstream OVS debian packaging to be on par with package source in Debian/Ubuntu: - Provide a openvswitch-switch-dpdk package that integrates with the dpdk package in the distributions so that end users can opt into a DPDK-enabled Open vSwitch binary. - Provide systemd service files. - Provide openvswitch-source package for reproducible integrated build of for example OVN. - Stop building shared library and subsequently remove libopenvswitch and libopenvswitch-dev binary packages. Co-authored-by: Luca Boccassi <bluca@debian.org> Signed-off-by: Luca Boccassi <bluca@debian.org> Co-authored-by: Christian Ehrhardt <christian.ehrhardt@canonical.com> Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com> Co-authored-by: James Page <james.page@ubuntu.com> Signed-off-by: James Page <james.page@ubuntu.com> Co-authored-by: Corey Bryant <corey.bryant@canonical.com> Signed-off-by: Corey Bryant <corey.bryant@canonical.com> Signed-off-by: Frode Nordahl <frode.nordahl@canonical.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
31 lines
710 B
Diff
31 lines
710 B
Diff
--- a/build-aux/ltmain.sh
|
|
+++ b/build-aux/ltmain.sh
|
|
@@ -7296,6 +7296,11 @@
|
|
continue
|
|
;;
|
|
|
|
+ -Wl,--whole-archive|-Wl,--no-whole-archive)
|
|
+ deplibs="$deplibs $arg"
|
|
+ continue
|
|
+ ;;
|
|
+
|
|
-Wc,*)
|
|
func_stripname '-Wc,' '' "$arg"
|
|
args=$func_stripname_result
|
|
@@ -7735,6 +7740,15 @@
|
|
fi
|
|
continue
|
|
;;
|
|
+ -Wl,--whole-archive|-Wl,--no-whole-archive)
|
|
+ if test "$linkmode,$pass" = "prog,link"; then
|
|
+ compile_deplibs="$deplib $compile_deplibs"
|
|
+ finalize_deplibs="$deplib $finalize_deplibs"
|
|
+ else
|
|
+ deplibs="$deplib $deplibs"
|
|
+ fi
|
|
+ continue
|
|
+ ;;
|
|
-l*)
|
|
if test lib != "$linkmode" && test prog != "$linkmode"; then
|
|
func_warning "'-l' is ignored for archives/objects"
|