aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'funcs/Makefile')
-rw-r--r--funcs/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/funcs/Makefile b/funcs/Makefile
index 72e229af9..1350fd725 100644
--- a/funcs/Makefile
+++ b/funcs/Makefile
@@ -11,14 +11,12 @@
# the GNU General Public License
#
-BUILD_MODS:=$(patsubst %.c,%.o,$(wildcard func_*.c))
+MODS:=$(patsubst %.c,%.so,$(wildcard func_*.c))
ifeq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/odbcinst.h)$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/odbcinst.h),)
- BUILD_MODS:=$(filter-out func_odbc.o,$(BUILD_MODS))
+ MODS:=$(filter-out func_odbc.so,$(MODS))
endif
-MODS:=$(BUILD_MODS:.o=.so)
-
ifeq (${OSARCH},CYGWIN)
CYGSOLINK=-Wl,--out-implib=lib$@.a -Wl,--export-all-symbols
CYGSOLIB=-L.. -L. -lasterisk.dll