Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win32
mingw32-dlfcn-win32
mingw32-dlfcn-win32-static.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-dlfcn-win32-static.spec of Package mingw32-dlfcn-win32
# # spec file for package mingw32-dlfcn-win32 # # Copyright (c) 2015-2023, Martin Hauke <mardnh@gmx.de> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define realname dlfcn-win32 Name: mingw32-%{realname}-static Version: 1.4.1 Release: 0 Summary: Implements a wrapper for dlfcn (dlopen dlclose dlsym dlerror dladdr) License: MIT Group: System/Libraries URL: https://github.com/dlfcn-win32/dlfcn-win32 Source: https://github.com/%{realname}/%{realname}/archive/v%{version}.tar.gz#/%{realname}-%{version}.tar.gz BuildRequires: mingw32-cross-cmake BuildRequires: mingw32-cross-binutils BuildRequires: mingw32-cross-gcc BuildRequires: mingw32-filesystem BuildArch: noarch %_mingw32_package_header_debug %_mingw32_debug_package %description This library implements a wrapper for dlfcn, as specified in POSIX and SUS, around the dynamic link library functions found in the Windows API. %package -n mingw32-%{realname}-devel-static Summary: Implements a wrapper for dlfcn (dlopen dlclose dlsym dlerror) Group: Development/Libraries/C and C++ %description -n mingw32-%{realname}-devel-static This library implements a wrapper for dlfcn, as specified in POSIX and SUS, around the dynamic link library functions found in the Windows API. This subpackage contains libraries and header files for developing applications that want to make use of dlfn32. %prep %setup -q -n %{realname}-%{version} %build export MINGW32_CXXFLAGS="%_mingw32_cxxflags -static" %_mingw32_cmake -DBUILD_SHARED_LIBS=OFF %_mingw32_cmake_build %install %_mingw32_cmake_install %files -n mingw32-%{realname}-devel-static %{_mingw32_libdir}/libdl.a %{_mingw32_includedir}/dlfcn.h %dir %{_mingw32_datadir}/dlfcn-win32 %{_mingw32_datadir}/dlfcn-win32/dlfcn-win32-*.cmake %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor