mirror of
https://github.com/PurpleI2P/i2pd-tools.git
synced 2025-04-24 09:56:36 +02:00
Force dynamic linking with Boost Filesystem
Updated the Makefile to dynamically link the Boost Filesystem library by adding the -lboost_filesystem option to the LDLIBS variable. This change resolves undefined reference errors encountered during compilation, where specific Boost Filesystem functions were not found by the linker (ld).
This commit is contained in:
parent
e872010153
commit
96c4795032
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -12,7 +12,7 @@ INCFLAGS = -I$(LIBI2PD_PATH) -I$(LIBI2PD_CLIENT_PATH)
|
|||
DEFINES = -DOPENSSL_SUPPRESS_DEPRECATED
|
||||
|
||||
LDFLAGS =
|
||||
LDLIBS = $(I2PD_PATH)/$(I2PD_LIB) -lboost_system$(BOOST_SUFFIX) -lboost_program_options$(BOOST_SUFFIX) -lssl -lcrypto -lz
|
||||
LDLIBS = $(I2PD_PATH)/$(I2PD_LIB) -lboost_system$(BOOST_SUFFIX) -lboost_program_options$(BOOST_SUFFIX) -lboost_filesystem$(BOOST_SUFFIX) -lssl -lcrypto -lz
|
||||
|
||||
|
||||
ifeq ($(UNAME),Linux)
|
||||
|
|
Loading…
Add table
Reference in a new issue