mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 02:58:02 -06:00
Linux: solve link error on recent Ubuntu when using shared wxWidgets.
This commit is contained in:
@@ -123,7 +123,7 @@ endif
|
||||
|
||||
$(APPNAME): $(LIBS) $(OBJS)
|
||||
@echo Linking $@
|
||||
$(CXX) -o $(APPNAME) $(LFLAGS) $(OBJS) $(LIBS) $(FUSE_LIBS) $(WX_LIBS)
|
||||
$(CXX) -o $(APPNAME) $(OBJS) $(LIBS) $(FUSE_LIBS) $(WX_LIBS) $(LFLAGS)
|
||||
|
||||
ifeq "$(TC_BUILD_CONFIG)" "Release"
|
||||
ifndef NOSTRIP
|
||||
|
||||
@@ -168,8 +168,11 @@ ifeq "$(shell uname -s)" "Linux"
|
||||
WXCONFIG_CXXFLAGS += -fdata-sections -ffunction-sections
|
||||
endif
|
||||
|
||||
endif
|
||||
ifneq "$(origin WXSTATIC)" "command line"
|
||||
LFLAGS += -ldl
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
#------ Mac OS X configuration ------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user