mirror of
https://github.com/rozniak/xfce-winxp-tc.git
synced 2026-01-26 11:39:44 +00:00
Bugfix: Fixes #272, Arch Linux now produces debug packages that break the build
This commit is contained in:
@@ -168,6 +168,14 @@ function(wintc_configure_and_install_packaging)
|
||||
string(APPEND ARCH_DEPENDENCIES ")")
|
||||
endif()
|
||||
|
||||
# Handle build options
|
||||
#
|
||||
if (${CMAKE_BUILD_TYPE} STREQUAL "Release")
|
||||
set(ARCH_PKGBUILD_OPTIONS "strip !debug")
|
||||
else()
|
||||
set(ARCH_PKGBUILD_OPTIONS "!strip !debug")
|
||||
endif()
|
||||
|
||||
configure_file(${WINTC_ARCH_PKGBUILD_IN_PATH} PKGBUILD @ONLY)
|
||||
elseif (${WINTC_PKGMGR} STREQUAL "deb")
|
||||
message(STATUS "Outputting build for Debian packaging")
|
||||
|
||||
@@ -5,6 +5,7 @@ pkgdesc="@PROJECT_DESCRIPTION@"
|
||||
arch=("@ARCH_ARCHITECTURE@")
|
||||
url="https://github.com/rozniak/xfce-winxp-tc"
|
||||
license=("@ARCH_LICENCE@")
|
||||
options=(@ARCH_PKGBUILD_OPTIONS@)
|
||||
|
||||
package()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user