Skip to content

Commit 862438e

Browse files
author
Jean-Baptiste Queru
committed
fix build
Change-Id: Idccb3f2499bbaac61099d8232cadd633b93ad846
1 parent 7547b8e commit 862438e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

drm/libdrmframework/plugins/passthru/Android.mk

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,13 @@ LOCAL_MODULE := libdrmpassthruplugin
2424
LOCAL_STATIC_LIBRARIES := libdrmframeworkcommon
2525

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

3035
LOCAL_PRELINK_MODULE := false
3136

0 commit comments

Comments
 (0)