slackbuilds/libraries/luasec/makefile.patch

12 lines
459 B
Diff

--- Makefile.old 2014-04-21 19:20:17.000000000 +0300
+++ Makefile 2014-05-18 00:02:16.000000000 +0300
@@ -37,7 +37,7 @@
$(INSTALL) -m644 https.lua $(LUAPATH)/ssl
linux:
- @$(MAKE) $(CMOD) MYCFLAGS="$(LNX_CFLAGS)" MYLDFLAGS="$(LNX_LDFLAGS)" EXTRA="$(EXTRA)"
+ @$(MAKE) $(CMOD) MYCFLAGS="$(SLKCFLAGS) $(LNX_CFLAGS)" MYLDFLAGS="$(LNX_LDFLAGS)" EXTRA="$(EXTRA)"
bsd:
@$(MAKE) $(CMOD) MYCFLAGS="$(BSD_CFLAGS)" MYLDFLAGS="$(BSD_LDFLAGS)" EXTRA="$(EXTRA)"