Skip to content

Commit 93548db

Browse files
author
Jean-Baptiste Queru
committed
fix build
Change-Id: I603e317b774758add127d7fe386fd60dc16d3101
1 parent 56aa3c7 commit 93548db

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

drm/drmioserver/Android.mk

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

2323
LOCAL_SHARED_LIBRARIES := \
2424
libutils \
25-
libbinder \
26-
libdl
25+
libbinder
26+
27+
ifeq ($(TARGET_SIMULATOR),true)
28+
LOCAL_LDLIBS += -ldl
29+
else
30+
LOCAL_SHARED_LIBRARIES += libdl
31+
endif
2732

2833
LOCAL_STATIC_LIBRARIES := libdrmframeworkcommon
2934

0 commit comments

Comments
 (0)