lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | lzo cross compile for openvpn example |
| 2 | |
| 3 | download http://www.oberhumer.com/opensource/lzo/download/lzo-2.10.tar.gz |
| 4 | |
| 5 | file file md5 hash :39d3f3f9c55c87b1e5d6888e1420f4b5 |
| 6 | |
| 7 | ½âѹ£ºtar zxf lzo-2.10.tar.gz |
| 8 | |
| 9 | build ±àÒëĿ¼£¨objÎļþµÈ£© |
| 10 | install ±àÒëÉú³ÉÎļþ£¬¿ÉÖ´ÐгÌÐò»òÕß¾²Ì¬¡¢¶¯Ì¬¿âÎļþ |
| 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 | |