VAX/QVSS: Proper linking on OSX
This commit is contained in:
parent
721a16f7e9
commit
daed1e576f
2 changed files with 7 additions and 1 deletions
3
makefile
3
makefile
|
@ -318,6 +318,9 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin)
|
|||
OS_CCDEFS += -DHAVE_LIBSDL -I$(dir $(call find_include,SDL/SDL))
|
||||
OS_LDFLAGS += -lSDL
|
||||
$(info using libSDL: $(call find_lib,SDL) $(call find_include,SDL/SDL))
|
||||
ifeq (Darwin,$(OSTYPE))
|
||||
OS_LDFLAGS += -lSDLmain -lobjc -framework cocoa
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
ifneq (,$(VIDEO_USEFUL))
|
||||
|
|
5
scp.c
5
scp.c
|
@ -233,7 +233,10 @@
|
|||
#endif
|
||||
#include <sys/stat.h>
|
||||
|
||||
#if defined(HAVE_DLOPEN) /* Dynamic Readline support */
|
||||
#if defined(HAVE_LIBSDL) && defined(USE_SIM_VIDEO) /* SDL*/
|
||||
#include <SDL/SDL.h>
|
||||
#endif
|
||||
#if defined(HAVE_DLOPEN) /* Dynamic Readline support */
|
||||
#include <dlfcn.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue