blob: 91fb2e54d3a8b20fc104a48d4a2528161ae9ef9e [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001lzo cross compile for openvpn example
2
3download http://www.oberhumer.com/opensource/lzo/download/lzo-2.10.tar.gz
4
5file file md5 hash :39d3f3f9c55c87b1e5d6888e1420f4b5
6
7½âѹ£ºtar zxf lzo-2.10.tar.gz
8
9build ±àÒëĿ¼£¨objÎļþµÈ£©
10install ±àÒëÉú³ÉÎļþ£¬¿ÉÖ´ÐгÌÐò»òÕß¾²Ì¬¡¢¶¯Ì¬¿âÎļþ
11
12ʹÓÃ˵Ã÷£º
13
14Í·ÎļþĿ¼£º$(LIB_DIR)/liblzo/install/include
15 ÈçÅäÖÃCFLAGS£º-I$(LIB_DIR)/liblzo/install/include
16¿âĿ¼£º$(LIB_DIR)/liblzo/install/lib
17 ÈçÅäÖÃLDFLAGS£º-L$(LIB_DIR)/liblzo/install/lib -llzo2
18