| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/x11-toolkits/scintilla/files/ |
Upload File : |
--- lexilla/src/makefile.orig 2020-05-31 23:08:11 UTC
+++ lexilla/src/makefile
@@ -35,13 +35,13 @@ else
BASE_FLAGS += -fvisibility=hidden
endif
-LEXILLA=$(DIR_BIN)/$(SHARED_NAME).$(SHAREDEXTENSION)
+SONAME=$(SHARED_NAME).$(SHAREDEXTENSION)
+LEXILLA=$(DIR_BIN)/$(SONAME)
LIBLEXILLA=$(DIR_BIN)/liblexilla.a
BASE_FLAGS += --std=c++17
ifdef CLANG
-CXX = clang++
ifdef windir
# Clang on Win32 uses MSVC headers so will complain about strcpy without this
DEFINES += -D_CRT_SECURE_NO_DEPRECATE=1
@@ -119,7 +119,7 @@ LEXILLA_OBJS=\
$(LEXERS:.cxx=.o)
$(LEXILLA): $(LEXILLA_OBJS) $(VERSION_RESOURCE)
- $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -o $@
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -Wl,-soname,$(SONAME) -o $@
$(LIBLEXILLA): $(LEXILLA_OBJS)
$(AR) rc $@ $^