Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you add the sqlite3 framework for a mobile substrate hack

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
like image 531
AlBeebe Avatar asked Jan 27 '26 06:01

AlBeebe


1 Answers

The answer is to add the following line to your makefile

MyTweak_LDFLAGS = -lsqlite3
like image 94
AlBeebe Avatar answered Jan 28 '26 20:01

AlBeebe



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!