[Bug 961405] Review Request: mingw-openjpeg - MinGW Windows OpenJPEG library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=961405

greg.hellings@xxxxxxxxx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greg.hellings@xxxxxxxxx

--- Comment #7 from greg.hellings@xxxxxxxxx ---
Without some significant manual workarounds I don't believe it's possible to
build both static and shared libraries from a single CMake call. The Debian
packager for one library I keep the CMake files for asked for that
funcitonality and it took some very significant gymnastics as I had to create
separate build targets (e.g. mylib and mylib-static) and then specifically
alter the build name of mylib-static so it would output mylib.a. And this still
runs into major problems building with MSVC as there the static mylib.lib and
the export library mylib.lib will collide (as opposed to our MinGW .a and
.dll.a).

So, likely, you'll need to invoke configure and install twice if you want to
build both dynamic and static. When I just glanced through the openJPEG code I
didn't see the necessary support for building both static and dynamic in a
single call. The differences in the two calls would be minimal. One would
include

-DBUILD_SHARED_LIBS:BOOL=ON

and the other

-DBUILD_SHARED_LIBS:BOOL=OFF

Otherwise, they are probably going to be identical invocations of cmake and
make.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=MUmPFkH8t3&a=cc_unsubscribe
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]