Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 64ef6b47 authored by Iliyan Malchev's avatar Iliyan Malchev
Browse files

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: default avatarIliyan Malchev <malchev@google.com>
parent 63aa6622
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -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)




+1 −1
Original line number Original line Diff line number Diff line
@@ -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),
+1 −1
Original line number Original line Diff line number Diff line
@@ -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




+1 −1
Original line number Original line Diff line number Diff line
@@ -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
+1 −1
Original line number Original line Diff line number Diff line
@@ -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