Skip to content

Commit 8206697

Browse files
provided static executable, updated debian package category to net
1 parent 883e04a commit 8206697

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ if (NOT DEFINED CMAKE_INSTALL_BINDIR)
1414
endif ()
1515

1616
set (CMAKE_C_FLAGS "-O2 -std=c11 -Wall")
17+
set (CMAKE_EXE_LINKER_FLAGS "-static")
1718

1819
if (NOT DEFINED CMAKE_BUILD_TYPE OR CMAKE_BUILD_TYPE STREQUAL "")
1920
set (CMAKE_BUILD_TYPE "Release")

CPackConfig.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ set (CPACK_PACKAGE_MAINTAINER "Andrew Aladjev <andrew-aladjev@gmail.com>")
1111
set (CPACK_DEBIAN_PACKAGE_MAINTAINER ${CPACK_PACKAGE_MAINTAINER})
1212
set (CPACK_FREEBSD_PACKAGE_MAINTAINER ${CPACK_PACKAGE_MAINTAINER})
1313

14+
set (CPACK_DEBIAN_PACKAGE_SECTION "net")
1415
set (CPACK_FREEBSD_PACKAGE_ORIGIN "net/${PROJECT_NAME}")
1516

1617
set (CPACK_PACKAGE_ARCHITECTURE "amd64")

0 commit comments

Comments
 (0)