title: Building cURL for Cocos2d-x Eclipse, something is missing for me
body: <p>There is no problem in Xcode, but in Eclipse there is unfortunately.</p>
  
  <p>I did this in Android.mk:</p>
  
  <pre><code>LOCAL_PATH := $(call my-dir)
  
  include $(CLEAR_VARS)
  
  LOCAL_MODULE := game
  
  
  LOCAL_MODULE_FILENAME := libgame
  
  LOCAL_SRC_FILES := helloworld/main.cpp \
                     ../../Classes/AppDelegate.cpp \
                     ../../Classes/HelloWorldScene.cpp\
                     ../../Classes/GameplayLayer.cpp\
                     ../../Classes/swimmerc.cpp\
                     ../../Classes/pugixml.cpp
  
  LOCAL_C_INCLUDES := ../../libs/cocos2dx \
  ../../libs/cocos2dx/platform \
  ../../libs/cocos2dx/include \
  ../../libs/CocosDenshion/include \
  $(LOCAL_PATH)/../../Classes/\
  
  
  LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static cocosdenshion_static curl_static
  
  include $(BUILD_SHARED_LIBRARY)
  $(call import-module,cocos2dx)
  $(call import-module,cocos2dx/platform/third_party/android/prebuilt/libcurl)
  $(call import-module,CocosDenshion/android) 
  </code></pre>
  
  <p>I put the <code>curl</code> folder in Classes. I then included it in <code>GameplayLayer.cpp</code>. 
  No errors occur if I use </p>
  
  <pre><code>CURL *curl;
  CURLcode res;
  </code></pre>
  
  <p>But as soon as I put</p>
  
  <pre><code>   curl = curl_easy_init();
  </code></pre>
  
  <p>I get an error,</p>
  
  <pre><code>make: *** [obj/local/armeabi/libgame.so] Error 1
  </code></pre>
  
  <p>Please help, I would gladly give one of my kidneys in exchange for getting this %&amp;#@ to work.</p>
  
  <p>I'm getting:</p>
  
  <pre><code>undefined reference to `curl_easy_init'
  </code></pre>