我正在创建一个移动基板黑客,我需要添加sqlite3框架,但我不知道如何将其添加到makefile。我尝试将“sqlite3”添加到MyTweak_FRAMEWORKS但是没有用。
include theos/makefiles/common.mk
TWEAK_NAME = MyTweak
MyTweak_FILES = Tweak.xm
MyTweak_FRAMEWORKS = UIKit AddressBook AddressBookUI AudioToolbox Foundation SystemConfiguration QuartzCore CoreGraphics
include $(THEOS_MAKE_PATH)/tweak.mk
include $(THEOS_MAKE_PATH)/bundle.mk
答案 0 :(得分:4)
答案是将以下行添加到makefile
MyTweak_LDFLAGS = -lsqlite3