Im creating a mobile substrate hack and i need to add the sqlite3 framework but i have no idea how to add it to the makefile. I tried adding "sqlite3" to the MyTweak_FRAMEWORKS but that didnt work.
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
The answer is to add the following line to your makefile
MyTweak_LDFLAGS = -lsqlite3
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With