Skip to content

Commit 7547b8e

Browse files
author
Jean-Baptiste Queru
committed
fix build
Change-Id: I4aba42eabb2f959b5301bfd16f65fa6141d86ddc
1 parent 93548db commit 7547b8e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

drm/drmserver/Android.mk

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,13 @@ LOCAL_SRC_FILES:= \
2424

2525
LOCAL_SHARED_LIBRARIES := \
2626
libutils \
27-
libbinder \
28-
libdl
27+
libbinder
28+
29+
ifeq ($(TARGET_SIMULATOR),true)
30+
LOCAL_LDLIBS += -ldl
31+
else
32+
LOCAL_SHARED_LIBRARIES += libdl
33+
endif
2934

3035
LOCAL_STATIC_LIBRARIES := libdrmframeworkcommon
3136

0 commit comments

Comments
 (0)