2006-05-06 12:15:19 +02:00
|
|
|
--- extconf.rb.orig Thu May 4 19:53:01 2006
|
|
|
|
+++ extconf.rb Thu May 4 19:54:13 2006
|
|
|
|
@@ -1,9 +1,9 @@
|
2004-12-25 21:22:06 +01:00
|
|
|
require 'mkmf'
|
|
|
|
|
|
|
|
-$LD_FLAGS = "-lstdc++ -lm"
|
2006-05-06 12:15:19 +02:00
|
|
|
+$LDFLAGS="-L${PREFIX}/lib -lstdc++ -lm"
|
2004-12-25 21:22:06 +01:00
|
|
|
|
2006-05-06 12:15:19 +02:00
|
|
|
have_func('pow', 'math.h') and
|
|
|
|
# note, this causes problems in cygwin. any suggestions?
|
2004-12-25 21:22:06 +01:00
|
|
|
-have_library('stdc++', '__cxa_rethrow') and
|
|
|
|
-have_library('musicbrainz', 'mb_Query') and
|
|
|
|
+have_library('stdc++') and
|
|
|
|
+have_library('musicbrainz') and
|
|
|
|
create_makefile('musicbrainz')
|