diff --git a/makefile b/makefile index 531cf2a8..d1d4537e 100644 --- a/makefile +++ b/makefile @@ -387,7 +387,7 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin) ifneq (,$(call find_include,libvdeplug)) # Provide support for vde networking NETWORK_CCDEFS += -DUSE_VDE_NETWORK - NETWORK_LDFLAGS += -lvdeplug -R$(dir $(call find_lib,vdeplug)) -L$(dir $(call find_lib,vdeplug)) + NETWORK_LDFLAGS += -lvdeplug -Wl,-R$(dir $(call find_lib,vdeplug)) -L$(dir $(call find_lib,vdeplug)) $(info using libvdeplug: $(call find_lib,vdeplug) $(call find_include,libvdeplug)) endif endif