mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
auc: link to libdl when needed
Fixes compilation under glibc. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=auc
|
PKG_NAME:=auc
|
||||||
PKG_VERSION:=0.1.4
|
PKG_VERSION:=0.1.4
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
PKG_LICENSE:=GPL-3.0
|
PKG_LICENSE:=GPL-3.0
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|||||||
@@ -8,5 +8,5 @@ SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
|
|||||||
find_library(json NAMES json-c json)
|
find_library(json NAMES json-c json)
|
||||||
|
|
||||||
ADD_EXECUTABLE(auc auc.c)
|
ADD_EXECUTABLE(auc auc.c)
|
||||||
TARGET_LINK_LIBRARIES(auc uci ubox ubus uclient blobmsg_json ${json})
|
TARGET_LINK_LIBRARIES(auc uci ubox ubus uclient blobmsg_json ${json} ${CMAKE_DL_LIBS})
|
||||||
INSTALL(TARGETS auc RUNTIME DESTINATION sbin)
|
INSTALL(TARGETS auc RUNTIME DESTINATION sbin)
|
||||||
|
|||||||
Reference in New Issue
Block a user