Navigation Menu

Skip to content

Commit

Permalink
windows: added separate .def file for 32bit
Browse files Browse the repository at this point in the history
  • Loading branch information
franku committed Sep 10, 2018
1 parent 322672d commit a1edf9a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/lib/bareos/CMakeLists.txt
Expand Up @@ -82,8 +82,8 @@ IF(HAVE_WIN32)
ADD_CUSTOM_COMMAND(
PRE_LINK
TARGET bareos
DEPENDS libbareoscfg.def
COMMAND ${DLLTOOL} -d ${CMAKE_CURRENT_SOURCE_DIR}/libbareoscfg.def -l libbareoscfg_import_a
DEPENDS libbareoscfg_${WINDOWS_BITS}.def
COMMAND ${DLLTOOL} -d ${CMAKE_CURRENT_SOURCE_DIR}/libbareoscfg_${WINDOWS_BITS}.def -l libbareoscfg_import_a
COMMAND echo ${CMAKE_CURRENT_BINARY_DIR}
COMMAND cp libbareoscfg_import_a ${WINDOWS_IMPORT_LIB_DIRECTORY}/libbareoscfg_import_a.a)

Expand Down
4 changes: 4 additions & 0 deletions core/src/lib/bareos/libbareoscfg_32.def
@@ -0,0 +1,4 @@
LIBRARY libbareoscfg.dll
EXPORTS
_imp___ZN19ConfigurationParser10GetNextResEiP20CommonResourceHeader
_imp___ZN19ConfigurationParser37GetTlsPskByFullyQualifiedResourceNameEPS_PKcRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
File renamed without changes.

0 comments on commit a1edf9a

Please sign in to comment.