https://bugs.documentfoundation.org/show_bug.cgi?id=91480

            Bug ID: 91480
           Summary: allow to build shared libraries in bundled projects on
                    Windows
           Product: LibreOffice
           Version: unspecified
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 115830
  --> https://bugs.documentfoundation.org/attachment.cgi?id=115830&action=edit
libwps patch for testing

There are lots of bundled projects that can be built as part of libreoffice
build. Many of these use autotools for build. To build these on Windows, we use
wrappers that translate gcc command line options to msvc syntax. This allows us
to build the projects uniformly on all platforms. The problem with this is that
the wrappers only work for static libraries. There is a handful of projects
that need to be built as shared and the number is increasing.

We need to fix up the wrappers to allow building shared libraries as well. The
code is rather simple and lives in solenv/gcc-wrappers. Attached is a minimal
patch that adapts libwps to be built as shared on Windows; this can be used for
testing. The unpacked sources of libwps can be found in
workdir/UnpackedTarball/libwps (Not right away: tarballs of bundled projects
are unpacked as a part of the build). This task does not require a full
libreoffice build: "make libwps.all" is enough for testing if the wrappers work
or not. If they do, the built .dll would be in
workdir/UnpackedTarball/libwps/src/lib/.libs.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to