add -ldl to host executables
This fixes the build on Linux when RefBase is compiled with reference tracking enabled. Change-Id: I3e931e0b463ce836f6fdb30c37068d77144631a3 Signed-off-by: Iliyan Malchev <malchev@google.com>
This commit is contained in:
@@ -71,6 +71,10 @@ LOCAL_CFLAGS += -DMB_CUR_MAX=1
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(TARGET_OS),linux)
|
||||||
|
LOCAL_LDLIBS += -lrt -ldl
|
||||||
|
endif
|
||||||
|
|
||||||
include $(BUILD_HOST_STATIC_LIBRARY)
|
include $(BUILD_HOST_STATIC_LIBRARY)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ LOCAL_STATIC_LIBRARIES := \
|
|||||||
libpng
|
libpng
|
||||||
|
|
||||||
ifeq ($(HOST_OS),linux)
|
ifeq ($(HOST_OS),linux)
|
||||||
LOCAL_LDLIBS += -lrt -lpthread
|
LOCAL_LDLIBS += -lrt -ldl -lpthread
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Statically link libz for MinGW (Win SDK under Linux),
|
# Statically link libz for MinGW (Win SDK under Linux),
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ LOCAL_STATIC_LIBRARIES := \
|
|||||||
libcutils
|
libcutils
|
||||||
|
|
||||||
ifeq ($(HOST_OS),linux)
|
ifeq ($(HOST_OS),linux)
|
||||||
LOCAL_LDLIBS += -lrt -lpthread
|
LOCAL_LDLIBS += -lrt -ldl -lpthread
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ LOCAL_STATIC_LIBRARIES := \
|
|||||||
libcutils
|
libcutils
|
||||||
|
|
||||||
ifeq ($(HOST_OS),linux)
|
ifeq ($(HOST_OS),linux)
|
||||||
LOCAL_LDLIBS += -lpthread
|
LOCAL_LDLIBS += -ldl -lpthread
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LOCAL_MODULE := obbtool
|
LOCAL_MODULE := obbtool
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ LOCAL_STATIC_LIBRARIES := \
|
|||||||
libcutils
|
libcutils
|
||||||
|
|
||||||
ifeq ($(HOST_OS),linux)
|
ifeq ($(HOST_OS),linux)
|
||||||
LOCAL_LDLIBS += -lpthread
|
LOCAL_LDLIBS += -ldl -lpthread
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LOCAL_MODULE := validatekeymaps
|
LOCAL_MODULE := validatekeymaps
|
||||||
|
|||||||
Reference in New Issue
Block a user