mirror of
https://github.com/logos-messaging/negentropy.git
synced 2026-01-07 08:23:11 +00:00
Add back -fPIC
This commit is contained in:
parent
47fb555f26
commit
8e08aa246b
@ -26,7 +26,7 @@ build-lib:
|
|||||||
ifeq ($(OS),Windows_NT)
|
ifeq ($(OS),Windows_NT)
|
||||||
g++ -O0 -g -std=c++20 $(INCS) -shared -fPIC -o $(TARGET) $(NEGENTROPY_ROOT)negentropy_wrapper.cpp -lcrypto -lssl -L/opt/homebrew/lib/
|
g++ -O0 -g -std=c++20 $(INCS) -shared -fPIC -o $(TARGET) $(NEGENTROPY_ROOT)negentropy_wrapper.cpp -lcrypto -lssl -L/opt/homebrew/lib/
|
||||||
else
|
else
|
||||||
g++ -O0 -g -std=c++20 $(INCS) -c negentropy_wrapper.cpp
|
g++ -O0 -g -std=c++20 $(INCS) -fPIC -c negentropy_wrapper.cpp
|
||||||
ar rcs $(TARGET) negentropy_wrapper.o
|
ar rcs $(TARGET) negentropy_wrapper.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user