forked from Ports/perfect_dark
port: don't use cv2pdb by default if it exists
This commit is contained in:
1 parent
06f2283180
commit
d1d288b96a
1 file changed
-7
@@ -154,13 +154,6 @@ ifneq (,$(findstring windows,$(TARGET_PLATFORM)))
|
||||
TARGET_LDFLAGS := $(shell pkg-config sdl2 --libs) -lz -lopengl32 -static-libstdc++ -ldbghelp
|
||||
# on windows/mingw we need this to be built with a 32-bit compiler so it finds the correct libs
|
||||
TOOLCHAIN ?= i686-w64-mingw32-
|
||||
# check if cv2pdb is present
|
||||
ifeq ($(CV2PDB),)
|
||||
CV2PDB := cv2pdb
|
||||
ifeq (,$(shell which cv2pdb 2>/dev/null))
|
||||
CV2PDB :=
|
||||
endif
|
||||
endif
|
||||
else # assume *nix
|
||||
TARGET_CFLAGS := $(shell pkg-config sdl2 --cflags-only-I)
|
||||
TARGET_LDFLAGS := $(shell pkg-config sdl2 --libs) -lGL -lz -ldl
|
||||
|
||||
Reference in new issue
Block a user