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

Commit a09f1ebe authored by Kenny Root's avatar Kenny Root
Browse files

Do not build pbkdf2gen on non-Linux hosts

Change-Id: I9f575a2ca7d45102a4f67424ea5866cf750adb13
parent bd57eeaf
Loading
Loading
Loading
Loading
+10 −7
Original line number Diff line number Diff line
@@ -29,6 +29,8 @@ LOCAL_MODULE := obbtool

include $(BUILD_HOST_EXECUTABLE)

# Non-Linux hosts might not have OpenSSL libcrypto
ifeq ($(HOST_OS),linux)
    include $(CLEAR_VARS)

    LOCAL_MODULE := pbkdf2gen
@@ -42,5 +44,6 @@ LOCAL_SRC_FILES := pbkdf2gen.cpp
    LOCAL_SHARED_LIBRARIES := libcrypto

    include $(BUILD_HOST_EXECUTABLE)
endif # HOST_OS == linux

endif # TARGET_BUILD_APPS