mirror of
https://github.com/znc/znc.git
synced 2026-08-07 01:13:25 +02:00
Add the necessary makefile magic for compiling on cygwin
This also works with make install (thanks to rpath). git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1351 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -22,6 +22,12 @@ LDFLAGS := @LDFLAGS@
|
||||
PERL := @PERL@
|
||||
MODDIR := @MODDIR@
|
||||
DATADIR := @DATADIR@
|
||||
LIBZNC := @LIBZNC@
|
||||
LIBZNCDIR:= @LIBZNCDIR@
|
||||
|
||||
ifneq "$(LIBZNC)" ""
|
||||
LDFLAGS += -L.. -lznc -Wl,-rpath,$(LIBZNCDIR)
|
||||
endif
|
||||
|
||||
FILES := $(basename $(wildcard $(srcdir)/*.cpp))
|
||||
# Strip away the srcdir, we want them to be created in the current dir
|
||||
|
||||
Reference in New Issue
Block a user