On 7/14/2012 5:59 PM, marco atzeri wrote:
rev 9924 broke strings for cygwin , and I guess also mingw and MacOsX



can be reverted ?

Regards


attached patch should be a simpler solution.

If no objection I will apply it

Regards
Marco
--- old/strings/src/Makefile    2012-03-16 19:30:38.000000000 +0100
+++ strings/src/Makefile        2012-07-14 18:24:02.579577700 +0200
@@ -1,9 +1,11 @@
 MKOCTFILE = mkoctfile -Wall
 
+REGEX_LIBS := $(shell  grep "\#define OCTAVE_CONF_REGEX_LIBS"  $(shell  
$(MKOCTFILE) -p OCTINCLUDEDIR)/oct-conf.h | sed 's/^.*LIBS //;s/"//g'  )
+
 all: pcregexp.oct
 
 %.oct: %.cc
-       $(MKOCTFILE) $<
+       $(MKOCTFILE) $<  -o $@ $(REGEX_LIBS)
 
 clean:
        rm -f *.o octave-core core *.oct *~
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to