dparrish / libcli

Libcli provides a shared library for including a Cisco-like command-line interface into other software. It's a telnet interface which supports command-line editing, history, authentication and callbacks for a user-definable function tree.
https://dparrish.com/link/libcli
GNU Lesser General Public License v2.1
289 stars 144 forks source link

I think it may be better to test lib without install. #16

Open kentzhang-geek opened 10 years ago

kentzhang-geek commented 10 years ago

So i try to change my makefile as: clitest: clitest.o $(LIB_STATIC) $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $^ $(LIBS) And it need to export 'LD_LIBRARY_PATH=.' if i use the original makefile.

RobSanders commented 3 years ago

I do local testing with LD=LIBRARY_PATH=. ./clitest